home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 4 / cdrt04.iso / mac / Electronic Bookshelf / The Sign of Four 1.0 / The Sign of Four 1.0 next >
MacBinary  |  1994-03-29  |  393.3 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Jan 3 21:36:40 1992, modified Tue Mar 29 07:08:40 1994, creator HyperCard, type HyperCard stack, 371296 bytes "The Sign of Four 1.0" , at 0x5aae0 31154 bytes resource default (weak)
99% file data default
49% TrID Mac HyperCard stack (MacBinary) default
33% TrID raw Group 3 FAX bitmap default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 14 54 68 65 20 53 69 | 67 6e 20 6f 66 20 46 6f |..The Si|gn of Fo|
|00000010| 75 72 20 31 2e 30 00 00 | 00 00 00 00 00 00 00 00 |ur 1.0..|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 05 aa 60 00 | 00 79 b2 a5 8a ce 38 a9 |......`.|.y....8.|
|00000060| bd ca c8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a8 c3 00 00 |........|........|
|00000080| 00 00 6c 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..l.STAK|........|
|00000090| 00 00 00 0a 00 05 aa 60 | 00 00 6c 00 00 00 00 00 |.......`|..l.....|
|000000a0| 00 00 00 04 00 00 00 04 | 00 00 2f fd 00 00 01 35 |........|../....5|
|000000b0| 00 00 0a 44 00 00 13 50 | 00 00 00 00 00 00 00 00 |...D...P|........|
|000000c0| 00 00 2c 6b 00 00 00 00 | 00 05 00 00 10 00 00 00 |..,k....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 01 25 80 00 02 10 80 00 | 02 10 80 00 02 10 80 01 |.%......|........|
|000000f0| de 55 0a dd 00 00 00 01 | 00 9c 00 10 01 dc 02 10 |.U......|........|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 43 80 00 00 0b 4e | 01 40 02 00 00 00 00 00 |..C....N|.@......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 73 74 61 72 74 | 75 70 0d 68 69 64 65 20 |on start|up.hide |
|00000690| 77 69 6e 64 6f 77 20 22 | 53 63 72 6f 6c 6c 22 0d |window "|Scroll".|
|000006a0| 69 66 20 69 74 65 6d 20 | 34 20 6f 66 20 74 68 65 |if item |4 of the|
|000006b0| 20 73 63 72 65 65 6e 52 | 65 63 74 20 3c 20 33 34 | screenR|ect < 34|
|000006c0| 33 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 72 |3 then.p|ut the r|
|000006d0| 65 63 74 20 6f 66 20 63 | 61 72 64 20 77 69 6e 64 |ect of c|ard wind|
|000006e0| 6f 77 20 69 6e 74 6f 20 | 74 68 65 52 65 63 74 0d |ow into |theRect.|
|000006f0| 70 75 74 20 32 32 20 69 | 6e 74 6f 20 69 74 65 6d |put 22 i|nto item|
|00000700| 20 32 20 6f 66 20 74 68 | 65 52 65 63 74 0d 70 75 | 2 of th|eRect.pu|
|00000710| 74 20 33 34 32 20 69 6e | 74 6f 20 69 74 65 6d 20 |t 342 in|to item |
|00000720| 34 20 6f 66 20 74 68 65 | 52 65 63 74 0d 73 65 74 |4 of the|Rect.set|
|00000730| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 63 61 72 | the rec|t of car|
|00000740| 64 20 77 69 6e 64 6f 77 | 20 74 6f 20 74 68 65 52 |d window| to theR|
|00000750| 65 63 74 0d 65 6e 64 20 | 69 66 0d 70 61 73 73 20 |ect.end |if.pass |
|00000760| 73 74 61 72 74 75 70 0d | 65 6e 64 20 73 74 61 72 |startup.|end star|
|00000770| 74 75 70 0d 0d 6f 6e 20 | 6f 70 65 6e 53 74 61 63 |tup..on |openStac|
|00000780| 6b 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |k.set th|e cursor|
|00000790| 20 74 6f 20 77 61 74 63 | 68 0d 68 69 64 65 20 77 | to watc|h.hide w|
|000007a0| 69 6e 64 6f 77 20 22 73 | 63 72 6f 6c 6c 22 0d 0d |indow "s|croll"..|
|000007b0| 69 66 20 74 68 65 20 63 | 61 6e 74 6d 6f 64 69 66 |if the c|antmodif|
|000007c0| 79 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |y of thi|s stack |
|000007d0| 69 73 20 66 61 6c 73 65 | 20 74 68 65 6e 0d 69 66 |is false| then.if|
|000007e0| 20 74 68 65 72 65 20 69 | 73 20 61 20 73 74 61 63 | there i|s a stac|
|000007f0| 6b 20 22 61 75 74 6f 66 | 6c 6f 77 22 20 74 68 65 |k "autof|low" the|
|00000800| 6e 20 73 74 61 72 74 20 | 75 73 69 6e 67 20 73 74 |n start |using st|
|00000810| 61 63 6b 20 22 61 75 74 | 6f 66 6c 6f 77 22 0d 65 |ack "aut|oflow".e|
|00000820| 6e 64 20 69 66 0d 0d 69 | 66 20 6e 6f 74 20 53 61 |nd if..i|f not Sa|
|00000830| 6d 65 52 6f 6f 74 44 69 | 73 6b 28 29 20 74 68 65 |meRootDi|sk() the|
|00000840| 6e 0d 53 68 6f 77 4e 6f | 74 65 73 20 74 72 75 65 |n.ShowNo|tes true|
|00000850| 0d 67 6c 6f 62 61 6c 20 | 67 4c 61 73 74 43 68 61 |.global |gLastCha|
|00000860| 70 74 65 72 4e 61 6d 65 | 2c 67 4c 61 73 74 50 61 |pterName|,gLastPa|
|00000870| 67 65 4e 75 6d 62 65 72 | 0d 70 75 74 20 74 68 65 |geNumber|.put the|
|00000880| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 66 | short n|ame of f|
|00000890| 69 72 73 74 20 63 61 72 | 64 20 6f 66 20 62 67 20 |irst car|d of bg |
|000008a0| 22 74 65 78 74 22 20 69 | 6e 74 6f 20 67 4c 61 73 |"text" i|nto gLas|
|000008b0| 74 43 68 61 70 74 65 72 | 4e 61 6d 65 0d 70 75 74 |tChapter|Name.put|
|000008c0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 66 | the num|ber of f|
|000008d0| 69 72 73 74 20 63 61 72 | 64 20 6f 66 20 62 67 20 |irst car|d of bg |
|000008e0| 22 74 65 78 74 22 20 69 | 6e 74 6f 20 67 4c 61 73 |"text" i|nto gLas|
|000008f0| 74 50 61 67 65 4e 75 6d | 62 65 72 0d 53 68 6f 77 |tPageNum|ber.Show|
|00000900| 4c 61 73 74 43 68 61 70 | 74 65 72 0d 65 6c 73 65 |LastChap|ter.else|
|00000910| 20 53 68 6f 77 4e 6f 74 | 65 73 20 53 68 6f 77 69 | ShowNot|es Showi|
|00000920| 6e 67 4e 6f 74 65 73 28 | 29 0d 0d 2d 2d a5 0d 2d |ngNotes(|)..--..-|
|00000930| 2d 20 63 72 65 61 74 65 | 20 6d 65 6e 75 20 22 49 |- create| menu "I|
|00000940| 74 61 6c 69 63 69 73 65 | 22 0d 2d 2d 20 70 75 74 |talicise|".-- put|
|00000950| 20 22 41 4c 4c 20 43 41 | 50 53 2d 3e 6c 6f 77 65 | "ALL CA|PS->lowe|
|00000960| 72 63 61 73 65 2c 41 4c | 4c 20 43 41 50 53 2d 3e |rcase,AL|L CAPS->|
|00000970| 49 6e 69 74 69 61 6c 20 | 43 61 70 73 22 20 69 6e |Initial |Caps" in|
|00000980| 74 6f 20 6d 65 6e 75 20 | 22 49 74 61 6c 69 63 69 |to menu |"Italici|
|00000990| 73 65 22 20 c2 0d 2d 2d | 20 77 69 74 68 20 6d 65 |se" ..--| with me|
|000009a0| 6e 75 6d 65 73 73 61 67 | 65 73 20 22 69 74 61 6c |numessag|es "ital|
|000009b0| 69 63 69 73 65 2c 69 74 | 61 6c 69 63 69 73 65 20 |icise,it|alicise |
|000009c0| 74 72 75 65 22 0d 2d 2d | 20 73 65 74 20 74 68 65 |true".--| set the|
|000009d0| 20 63 6f 6d 6d 61 6e 64 | 63 68 61 72 20 6f 66 20 | command|char of |
|000009e0| 6d 65 6e 75 69 74 65 6d | 20 31 20 6f 66 20 6d 65 |menuitem| 1 of me|
|000009f0| 6e 75 20 22 49 74 61 6c | 69 63 69 73 65 22 20 74 |nu "Ital|icise" t|
|00000a00| 6f 20 35 0d 2d 2d 20 73 | 65 74 20 74 68 65 20 63 |o 5.-- s|et the c|
|00000a10| 6f 6d 6d 61 6e 64 63 68 | 61 72 20 6f 66 20 6d 65 |ommandch|ar of me|
|00000a20| 6e 75 69 74 65 6d 20 32 | 20 6f 66 20 6d 65 6e 75 |nuitem 2| of menu|
|00000a30| 20 22 49 74 61 6c 69 63 | 69 73 65 22 20 74 6f 20 | "Italic|ise" to |
|00000a40| 36 0d 2d 2d a5 0d 0d 53 | 65 74 55 70 4d 65 6e 75 |6.--...S|etUpMenu|
|00000a50| 73 0d 70 61 73 73 20 6f | 70 65 6e 73 74 61 63 6b |s.pass o|penstack|
|00000a60| 0d 65 6e 64 20 6f 70 65 | 6e 53 74 61 63 6b 0d 0d |.end ope|nStack..|
|00000a70| 6f 6e 20 63 6c 6f 73 65 | 53 74 61 63 6b 0d 70 75 |on close|Stack.pu|
|00000a80| 74 20 53 74 61 63 6b 4c | 6f 63 6b 65 64 28 29 20 |t StackL|ocked() |
|00000a90| 69 6e 74 6f 20 6c 6f 63 | 6b 65 64 42 65 66 6f 72 |into loc|kedBefor|
|00000aa0| 65 0d 55 6e 6c 6f 63 6b | 53 74 61 63 6b 0d 72 65 |e.Unlock|Stack.re|
|00000ab0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00000ac0| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00000ad0| 20 62 67 73 0d 73 65 74 | 20 74 68 65 20 63 75 72 | bgs.set| the cur|
|00000ae0| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 69 66 20 |sor to w|atch.if |
|00000af0| 74 68 65 72 65 20 69 73 | 20 61 20 62 67 20 62 74 |there is| a bg bt|
|00000b00| 6e 20 22 68 65 6c 70 20 | 6f 66 66 22 20 6f 66 20 |n "help |off" of |
|00000b10| 63 64 20 31 20 6f 66 20 | 62 67 20 69 0d 74 68 65 |cd 1 of |bg i.the|
|00000b20| 6e 20 73 65 74 20 74 68 | 65 20 69 63 6f 6e 20 6f |n set th|e icon o|
|00000b30| 66 20 62 67 20 62 74 6e | 20 22 68 65 6c 70 20 6f |f bg btn| "help o|
|00000b40| 66 66 22 20 6f 66 20 63 | 64 20 31 20 6f 66 20 62 |ff" of c|d 1 of b|
|00000b50| 67 20 69 20 74 6f 20 31 | 32 33 37 38 0d 65 6e 64 |g i to 1|2378.end|
|00000b60| 20 72 65 70 65 61 74 0d | 53 68 6f 77 4c 61 73 74 | repeat.|ShowLast|
|00000b70| 43 68 61 70 74 65 72 0d | 69 66 20 74 68 65 20 66 |Chapter.|if the f|
|00000b80| 72 65 65 53 69 7a 65 20 | 6f 66 20 74 68 69 73 20 |reeSize |of this |
|00000b90| 73 74 61 63 6b 20 3e 20 | 35 30 30 30 30 20 74 68 |stack > |50000 th|
|00000ba0| 65 6e 0d 73 65 6e 64 20 | 22 64 6f 4d 65 6e 75 20 |en.send |"doMenu |
|00000bb0| 63 6f 6d 70 61 63 74 20 | 73 74 61 63 6b 22 20 74 |compact |stack" t|
|00000bc0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6e 64 20 |o HyperC|ard.end |
|00000bd0| 69 66 0d 69 66 20 6c 6f | 63 6b 65 64 42 65 66 6f |if.if lo|ckedBefo|
|00000be0| 72 65 20 74 68 65 6e 20 | 4c 6f 63 6b 53 74 61 63 |re then |LockStac|
|00000bf0| 6b 0d 0d 52 65 6d 6f 76 | 65 4d 65 6e 75 73 0d 0d |k..Remov|eMenus..|
|00000c00| 70 61 73 73 20 63 6c 6f | 73 65 53 74 61 63 6b 0d |pass clo|seStack.|
|00000c10| 65 6e 64 20 63 6c 6f 73 | 65 53 74 61 63 6b 0d 0d |end clos|eStack..|
|00000c20| 6f 6e 20 6f 70 65 6e 43 | 61 72 64 0d 53 68 6f 77 |on openC|ard.Show|
|00000c30| 42 6f 6f 6b 4d 61 72 6b | 0d 70 61 73 73 20 6f 70 |BookMark|.pass op|
|00000c40| 65 6e 43 61 72 64 0d 65 | 6e 64 20 6f 70 65 6e 43 |enCard.e|nd openC|
|00000c50| 61 72 64 0d 0d 6f 6e 20 | 6f 70 65 6e 42 61 63 6b |ard..on |openBack|
|00000c60| 67 72 6f 75 6e 64 0d 53 | 68 6f 77 4e 6f 74 65 73 |ground.S|howNotes|
|00000c70| 20 53 68 6f 77 69 6e 67 | 4e 6f 74 65 73 28 29 0d | Showing|Notes().|
|00000c80| 70 61 73 73 20 6f 70 65 | 6e 42 61 63 6b 67 72 6f |pass ope|nBackgro|
|00000c90| 75 6e 64 0d 65 6e 64 20 | 6f 70 65 6e 42 61 63 6b |und.end |openBack|
|00000ca0| 67 72 6f 75 6e 64 0d 0d | 6f 6e 20 63 6c 6f 73 65 |ground..|on close|
|00000cb0| 42 61 63 6b 67 72 6f 75 | 6e 64 0d 54 75 72 6e 4f |Backgrou|nd.TurnO|
|00000cc0| 66 66 42 75 74 74 6f 6e | 48 65 6c 70 0d 70 61 73 |ffButton|Help.pas|
|00000cd0| 73 20 63 6c 6f 73 65 42 | 61 63 6b 67 72 6f 75 6e |s closeB|ackgroun|
|00000ce0| 64 0d 65 6e 64 20 63 6c | 6f 73 65 42 61 63 6b 67 |d.end cl|oseBackg|
|00000cf0| 72 6f 75 6e 64 0d 0d 6f | 6e 20 6b 65 79 44 6f 77 |round..o|n keyDow|
|00000d00| 6e 20 74 68 65 4b 65 79 | 0d 69 66 20 74 68 65 4b |n theKey|.if theK|
|00000d10| 65 79 20 69 73 20 73 70 | 61 63 65 20 6f 72 20 63 |ey is sp|ace or c|
|00000d20| 68 61 72 74 6f 6e 75 6d | 28 74 68 65 4b 65 79 29 |hartonum|(theKey)|
|00000d30| 20 69 73 20 32 30 32 20 | 74 68 65 6e 0d 67 65 74 | is 202 |then.get|
|00000d40| 20 74 68 65 20 73 68 69 | 66 74 4b 65 79 20 69 73 | the shi|ftKey is|
|00000d50| 20 75 70 20 61 6e 64 20 | 74 68 65 20 6f 70 74 69 | up and |the opti|
|00000d60| 6f 6e 4b 65 79 20 69 73 | 20 75 70 0d 69 66 20 74 |onKey is| up.if t|
|00000d70| 68 65 20 73 65 6c 65 63 | 74 65 64 46 69 65 6c 64 |he selec|tedField|
|00000d80| 20 69 73 20 65 6d 70 74 | 79 20 61 6e 64 20 c2 0d | is empt|y and ..|
|00000d90| 6e 6f 74 20 74 68 65 20 | 76 69 73 69 62 6c 65 20 |not the |visible |
|00000da0| 6f 66 20 74 68 65 20 6d | 73 67 20 61 6e 64 c2 0d |of the m|sg and..|
|00000db0| 74 68 65 20 62 6c 69 6e | 64 54 79 70 69 6e 67 20 |the blin|dTyping |
|00000dc0| 69 73 20 66 61 6c 73 65 | 20 74 68 65 6e 0d 69 66 |is false| then.if|
|00000dd0| 20 69 74 20 74 68 65 6e | 0d 63 6c 69 63 6b 20 61 | it then|.click a|
|00000de0| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 62 67 20 |t the lo|c of bg |
|00000df0| 62 74 6e 20 22 6e 65 78 | 74 20 70 61 67 65 22 0d |btn "nex|t page".|
|00000e00| 65 6c 73 65 20 63 6c 69 | 63 6b 20 61 74 20 74 68 |else cli|ck at th|
|00000e10| 65 20 6c 6f 63 20 6f 66 | 20 62 67 20 62 74 6e 20 |e loc of| bg btn |
|00000e20| 22 70 72 65 76 69 6f 75 | 73 20 70 61 67 65 22 0d |"previou|s page".|
|00000e30| 65 6c 73 65 20 70 61 73 | 73 20 6b 65 79 44 6f 77 |else pas|s keyDow|
|00000e40| 6e 0d 65 6c 73 65 20 70 | 61 73 73 20 6b 65 79 44 |n.else p|ass keyD|
|00000e50| 6f 77 6e 0d 65 6e 64 20 | 6b 65 79 44 6f 77 6e 0d |own.end |keyDown.|
|00000e60| 0d 6f 6e 20 64 6f 4d 65 | 6e 75 20 77 68 69 63 68 |.on doMe|nu which|
|00000e70| 0d 69 66 20 77 68 69 63 | 68 20 69 73 20 22 70 72 |.if whic|h is "pr|
|00000e80| 65 76 22 20 74 68 65 6e | 20 67 6f 50 72 65 76 69 |ev" then| goPrevi|
|00000e90| 6f 75 73 50 61 67 65 0d | 65 6c 73 65 20 69 66 20 |ousPage.|else if |
|00000ea0| 77 68 69 63 68 20 69 73 | 20 22 6e 65 78 74 22 20 |which is| "next" |
|00000eb0| 74 68 65 6e 20 67 6f 4e | 65 78 74 50 61 67 65 0d |then goN|extPage.|
|00000ec0| 65 6c 73 65 20 69 66 20 | 77 68 69 63 68 20 69 73 |else if |which is|
|00000ed0| 20 22 66 69 72 73 74 22 | 20 74 68 65 6e 0d 47 6f | "first"| then.Go|
|00000ee0| 50 61 67 65 20 31 2c 22 | 77 69 70 65 20 75 70 22 |Page 1,"|wipe up"|
|00000ef0| 0d 65 6c 73 65 20 69 66 | 20 77 68 69 63 68 20 69 |.else if| which i|
|00000f00| 73 20 22 6c 61 73 74 22 | 20 74 68 65 6e 0d 47 6f |s "last"| then.Go|
|00000f10| 50 61 67 65 20 28 74 68 | 65 20 6e 75 6d 62 65 72 |Page (th|e number|
|00000f20| 20 6f 66 20 63 61 72 64 | 73 29 2c 22 77 69 70 65 | of card|s),"wipe|
|00000f30| 20 64 6f 77 6e 22 0d 65 | 6c 73 65 20 69 66 20 77 | down".e|lse if w|
|00000f40| 68 69 63 68 20 69 73 20 | 22 66 69 6e 64 2e 2e 2e |hich is |"find...|
|00000f50| 22 20 74 68 65 6e 20 53 | 74 61 72 74 53 65 61 72 |" then S|tartSear|
|00000f60| 63 68 0d 65 6c 73 65 20 | 20 70 61 73 73 20 64 6f |ch.else | pass do|
|00000f70| 4d 65 6e 75 0d 65 6e 64 | 20 64 6f 4d 65 6e 75 0d |Menu.end| doMenu.|
|00000f80| 0d 6f 6e 20 61 72 72 6f | 77 4b 65 79 20 64 69 72 |.on arro|wKey dir|
|00000f90| 65 63 74 69 6f 6e 0d 69 | 66 20 64 69 72 65 63 74 |ection.i|f direct|
|00000fa0| 69 6f 6e 20 69 73 20 22 | 72 69 67 68 74 22 20 74 |ion is "|right" t|
|00000fb0| 68 65 6e 0d 63 6c 69 63 | 6b 20 61 74 20 74 68 65 |hen.clic|k at the|
|00000fc0| 20 6c 6f 63 20 6f 66 20 | 62 67 20 62 74 6e 20 22 | loc of |bg btn "|
|00000fd0| 4e 65 78 74 20 50 61 67 | 65 22 0d 65 6c 73 65 20 |Next Pag|e".else |
|00000fe0| 69 66 20 64 69 72 65 63 | 74 69 6f 6e 20 69 73 20 |if direc|tion is |
|00000ff0| 22 6c 65 66 74 22 20 74 | 68 65 6e 0d 63 6c 69 63 |"left" t|hen.clic|
|00001000| 6b 20 61 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |k at the| loc of |
|00001010| 62 67 20 62 74 6e 20 22 | 50 72 65 76 69 6f 75 73 |bg btn "|Previous|
|00001020| 20 50 61 67 65 22 0d 65 | 6c 73 65 20 69 66 20 64 | Page".e|lse if d|
|00001030| 69 72 65 63 74 69 6f 6e | 20 69 73 20 22 75 70 22 |irection| is "up"|
|00001040| 20 74 68 65 6e 0d 63 6c | 69 63 6b 20 61 74 20 74 | then.cl|ick at t|
|00001050| 68 65 20 6c 6f 63 20 6f | 66 20 62 67 20 62 74 6e |he loc o|f bg btn|
|00001060| 20 22 50 72 65 76 69 6f | 75 73 20 41 72 74 69 63 | "Previo|us Artic|
|00001070| 6c 65 22 0d 65 6c 73 65 | 20 69 66 20 64 69 72 65 |le".else| if dire|
|00001080| 63 74 69 6f 6e 20 69 73 | 20 22 64 6f 77 6e 22 0d |ction is| "down".|
|00001090| 74 68 65 6e 20 20 63 6c | 69 63 6b 20 61 74 20 74 |then cl|ick at t|
|000010a0| 68 65 20 6c 6f 63 20 6f | 66 20 62 67 20 62 74 6e |he loc o|f bg btn|
|000010b0| 20 22 4e 65 78 74 20 41 | 72 74 69 63 6c 65 22 0d | "Next A|rticle".|
|000010c0| 65 6e 64 20 61 72 72 6f | 77 4b 65 79 0d 0d 6f 6e |end arro|wKey..on|
|000010d0| 20 53 65 74 55 70 4d 65 | 6e 75 73 0d 73 65 74 20 | SetUpMe|nus.set |
|000010e0| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 20 77 61 |the curs|or to wa|
|000010f0| 74 63 68 0d 72 65 73 65 | 74 20 6d 65 6e 75 62 61 |tch.rese|t menuba|
|00001100| 72 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |r.if the|re is a |
|00001110| 6d 65 6e 75 20 22 46 6f | 6e 74 22 20 74 68 65 6e |menu "Fo|nt" then|
|00001120| 20 64 65 6c 65 74 65 20 | 6d 65 6e 75 20 22 46 6f | delete |menu "Fo|
|00001130| 6e 74 22 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |nt".if t|here is |
|00001140| 61 20 6d 65 6e 75 20 22 | 53 74 79 6c 65 22 20 74 |a menu "|Style" t|
|00001150| 68 65 6e 20 64 65 6c 65 | 74 65 20 6d 65 6e 75 20 |hen dele|te menu |
|00001160| 22 53 74 79 6c 65 22 0d | 0d 69 66 20 74 68 65 72 |"Style".|.if ther|
|00001170| 65 20 69 73 20 61 20 6d | 65 6e 75 69 74 65 6d 20 |e is a m|enuitem |
|00001180| 22 2d 31 22 20 6f 66 20 | 6d 65 6e 75 20 22 46 69 |"-1" of |menu "Fi|
|00001190| 6c 65 22 20 74 68 65 6e | 0d 70 75 74 20 22 2d 2c |le" then|.put "-,|
|000011a0| 45 78 70 6f 72 74 20 42 | 6f 6f 6b 20 54 65 78 74 |Export B|ook Text|
|000011b0| 2c 43 6c 65 61 72 20 4e | 6f 74 65 73 2c 43 6c 65 |,Clear N|otes,Cle|
|000011c0| 61 72 20 42 6f 6f 6b 6d | 61 72 6b 73 2c 2d 2c 42 |ar Bookm|arks,-,B|
|000011d0| 6c 69 6e 64 20 54 79 70 | 69 6e 67 22 20 69 6e 74 |lind Typ|ing" int|
|000011e0| 6f 20 6d 65 6e 75 4c 69 | 73 74 0d 70 75 74 20 22 |o menuLi|st.put "|
|000011f0| 2c 45 78 70 6f 72 74 41 | 6c 6c 42 6f 6f 6b 54 65 |,ExportA|llBookTe|
|00001200| 78 74 2c 43 6c 65 61 72 | 4e 6f 74 65 73 2c 43 6c |xt,Clear|Notes,Cl|
|00001210| 65 61 72 42 6f 6f 6b 4d | 61 72 6b 73 2c 2d 2c 54 |earBookM|arks,-,T|
|00001220| 6f 67 67 6c 65 42 6c 69 | 6e 64 54 79 70 69 6e 67 |oggleBli|ndTyping|
|00001230| 22 20 69 6e 74 6f 20 6d | 73 67 4c 69 73 74 0d 49 |" into m|sgList.I|
|00001240| 6e 73 65 72 74 4d 65 6e | 75 20 22 46 69 6c 65 22 |nsertMen|u "File"|
|00001250| 2c 22 2d 31 22 2c 6d 65 | 6e 75 4c 69 73 74 2c 6d |,"-1",me|nuList,m|
|00001260| 73 67 4c 69 73 74 0d 73 | 65 74 20 74 68 65 20 63 |sgList.s|et the c|
|00001270| 6f 6d 6d 61 6e 64 43 68 | 61 72 20 6f 66 20 6d 65 |ommandCh|ar of me|
|00001280| 6e 75 49 74 65 6d 20 22 | 42 6c 69 6e 64 20 54 79 |nuItem "|Blind Ty|
|00001290| 70 69 6e 67 22 20 6f 66 | 20 6d 65 6e 75 20 22 46 |ping" of| menu "F|
|000012a0| 69 6c 65 22 20 74 6f 20 | 22 44 22 0d 73 65 74 20 |ile" to |"D".set |
|000012b0| 74 68 65 20 63 68 65 63 | 6b 6d 61 72 6b 20 6f 66 |the chec|kmark of|
|000012c0| 20 6d 65 6e 75 49 74 65 | 6d 20 22 42 6c 69 6e 64 | menuIte|m "Blind|
|000012d0| 20 54 79 70 69 6e 67 22 | 20 6f 66 20 6d 65 6e 75 | Typing"| of menu|
|000012e0| 20 22 46 69 6c 65 22 20 | 74 6f 20 28 74 68 65 20 | "File" |to (the |
|000012f0| 42 6c 69 6e 64 54 79 70 | 69 6e 67 29 0d 65 6e 64 |BlindTyp|ing).end|
|00001300| 20 69 66 0d 0d 69 66 20 | 74 68 65 72 65 20 69 73 | if..if |there is|
|00001310| 20 61 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 74 | a menu |"Edit" t|
|00001320| 68 65 6e 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |hen.if t|here is |
|00001330| 61 20 6d 65 6e 75 69 74 | 65 6d 20 22 2d 32 22 20 |a menuit|em "-2" |
|00001340| 6f 66 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 74 |of menu |"Edit" t|
|00001350| 68 65 6e 0d 69 66 20 53 | 68 6f 77 69 6e 67 4e 6f |hen.if S|howingNo|
|00001360| 74 65 73 28 29 20 74 68 | 65 6e 0d 70 75 74 20 22 |tes() th|en.put "|
|00001370| 2d 2c 53 68 6f 77 20 4e | 6f 74 65 73 2c 55 6e 64 |-,Show N|otes,Und|
|00001380| 65 72 6c 69 6e 65 20 54 | 65 78 74 2c 53 65 74 20 |erline T|ext,Set |
|00001390| 42 6f 6f 6b 6d 61 72 6b | 22 69 6e 74 6f 20 6d 65 |Bookmark|"into me|
|000013a0| 6e 75 4c 69 73 74 0d 65 | 6c 73 65 20 70 75 74 20 |nuList.e|lse put |
|000013b0| 22 2d 2c 53 68 6f 77 20 | 4e 6f 74 65 73 2c 55 6e |"-,Show |Notes,Un|
|000013c0| 64 65 72 6c 69 6e 65 20 | 54 65 78 74 2c 53 65 74 |derline |Text,Set|
|000013d0| 20 42 6f 6f 6b 6d 61 72 | 6b 22 69 6e 74 6f 20 6d | Bookmar|k"into m|
|000013e0| 65 6e 75 4c 69 73 74 0d | 70 75 74 20 22 2c 53 68 |enuList.|put ",Sh|
|000013f0| 6f 77 4e 6f 74 65 73 20 | 6e 6f 74 20 53 68 6f 77 |owNotes |not Show|
|00001400| 69 6e 67 4e 6f 74 65 73 | 28 29 2c 4d 61 72 6b 54 |ingNotes|(),MarkT|
|00001410| 65 78 74 2c 42 6f 6f 6b | 4d 61 72 6b 22 20 69 6e |ext,Book|Mark" in|
|00001420| 74 6f 20 6d 73 67 4c 69 | 73 74 0d 70 75 74 20 22 |to msgLi|st.put "|
|00001430| 2c 4e 2c 55 2c 22 20 69 | 6e 74 6f 20 63 6d 64 43 |,N,U," i|nto cmdC|
|00001440| 68 61 72 4c 69 73 74 0d | 49 6e 73 65 72 74 4d 65 |harList.|InsertMe|
|00001450| 6e 75 20 22 45 64 69 74 | 22 2c 22 2d 32 22 2c 6d |nu "Edit|","-2",m|
|00001460| 65 6e 75 4c 69 73 74 2c | 6d 73 67 4c 69 73 74 2c |enuList,|msgList,|
|00001470| 63 6d 64 43 68 61 72 4c | 69 73 74 0d 65 6e 64 20 |cmdCharL|ist.end |
|00001480| 69 66 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |if.if th|ere is a|
|00001490| 20 6d 65 6e 75 49 74 65 | 6d 20 22 54 65 78 74 20 | menuIte|m "Text |
|000014a0| 53 74 79 6c 65 2e 2e 2e | 22 20 6f 66 20 6d 65 6e |Style...|" of men|
|000014b0| 75 20 22 45 64 69 74 22 | 20 c2 0d 61 6e 64 20 6e |u "Edit"| ..and n|
|000014c0| 6f 74 20 41 75 74 6f 46 | 6c 6f 77 69 6e 67 28 29 |ot AutoF|lowing()|
|000014d0| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|000014e0| 75 49 74 65 6d 20 22 54 | 65 78 74 20 53 74 79 6c |uItem "T|ext Styl|
|000014f0| 65 2e 2e 2e 22 20 6f 66 | 20 6d 65 6e 75 20 22 45 |e..." of| menu "E|
|00001500| 64 69 74 22 0d 0d 69 66 | 20 74 68 65 72 65 20 69 |dit"..if| there i|
|00001510| 73 20 61 20 6d 65 6e 75 | 49 74 65 6d 20 22 4e 65 |s a menu|Item "Ne|
|00001520| 77 20 43 61 72 64 22 20 | 6f 66 20 6d 65 6e 75 20 |w Card" |of menu |
|00001530| 22 45 64 69 74 22 20 c2 | 0d 74 68 65 6e 20 64 65 |"Edit" .|.then de|
|00001540| 6c 65 74 65 20 6d 65 6e | 75 49 74 65 6d 20 22 4e |lete men|uItem "N|
|00001550| 65 77 20 43 61 72 64 22 | 20 6f 66 20 6d 65 6e 75 |ew Card"| of menu|
|00001560| 20 22 45 64 69 74 22 0d | 0d 69 66 20 74 68 65 72 | "Edit".|.if ther|
|00001570| 65 20 69 73 20 61 20 6d | 65 6e 75 49 74 65 6d 20 |e is a m|enuItem |
|00001580| 22 44 65 6c 65 74 65 20 | 43 61 72 64 22 20 6f 66 |"Delete |Card" of|
|00001590| 20 6d 65 6e 75 20 22 45 | 64 69 74 22 20 c2 0d 74 | menu "E|dit" ..t|
|000015a0| 68 65 6e 20 64 65 6c 65 | 74 65 20 6d 65 6e 75 49 |hen dele|te menuI|
|000015b0| 74 65 6d 20 22 44 65 6c | 65 74 65 20 43 61 72 64 |tem "Del|ete Card|
|000015c0| 22 20 6f 66 20 6d 65 6e | 75 20 22 45 64 69 74 22 |" of men|u "Edit"|
|000015d0| 0d 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |..if the|re is a |
|000015e0| 6d 65 6e 75 49 74 65 6d | 20 22 43 75 74 20 43 61 |menuItem| "Cut Ca|
|000015f0| 72 64 22 20 6f 66 20 6d | 65 6e 75 20 22 45 64 69 |rd" of m|enu "Edi|
|00001600| 74 22 20 c2 0d 74 68 65 | 6e 20 64 65 6c 65 74 65 |t" ..the|n delete|
|00001610| 20 6d 65 6e 75 49 74 65 | 6d 20 22 43 75 74 20 43 | menuIte|m "Cut C|
|00001620| 61 72 64 22 20 6f 66 20 | 6d 65 6e 75 20 22 45 64 |ard" of |menu "Ed|
|00001630| 69 74 22 0d 65 6e 64 20 | 69 66 0d 0d 69 66 20 74 |it".end |if..if t|
|00001640| 68 65 72 65 20 69 73 20 | 61 20 6d 65 6e 75 20 22 |here is |a menu "|
|00001650| 47 6f 22 20 74 68 65 6e | 0d 69 66 20 74 68 65 72 |Go" then|.if ther|
|00001660| 65 20 69 73 20 61 20 6d | 65 6e 75 49 74 65 6d 20 |e is a m|enuItem |
|00001670| 22 2d 31 22 20 6f 66 20 | 6d 65 6e 75 20 22 47 6f |"-1" of |menu "Go|
|00001680| 22 20 74 68 65 6e 0d 49 | 6e 73 65 72 74 4d 65 6e |" then.I|nsertMen|
|00001690| 75 20 22 47 6f 22 2c 22 | 2d 31 22 2c 22 54 6f 20 |u "Go","|-1","To |
|000016a0| 50 61 67 65 2e 2e 2e 22 | 2c 22 47 6f 54 6f 50 61 |Page..."|,"GoToPa|
|000016b0| 67 65 22 2c 22 30 22 0d | 65 6e 64 20 69 66 0d 0d |ge","0".|end if..|
|000016c0| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 6d 65 |if there| is a me|
|000016d0| 6e 75 69 74 65 6d 20 22 | 2d 32 22 20 6f 66 20 6d |nuitem "|-2" of m|
|000016e0| 65 6e 75 20 22 47 6f 22 | 20 74 68 65 6e 0d 70 75 |enu "Go"| then.pu|
|000016f0| 74 20 22 2d 2c 54 61 62 | 6c 65 20 6f 66 20 43 6f |t "-,Tab|le of Co|
|00001700| 6e 74 65 6e 74 73 2c 50 | 72 65 76 20 43 68 61 70 |ntents,P|rev Chap|
|00001710| 74 65 72 2c 4e 65 78 74 | 20 43 68 61 70 74 65 72 |ter,Next| Chapter|
|00001720| 2c 50 72 65 76 20 42 6f | 6f 6b 6d 61 72 6b 2c 4e |,Prev Bo|okmark,N|
|00001730| 65 78 74 20 42 6f 6f 6b | 6d 61 72 6b 22 20 69 6e |ext Book|mark" in|
|00001740| 74 6f 20 6d 65 6e 75 4c | 69 73 74 0d 70 75 74 20 |to menuL|ist.put |
|00001750| 22 2d 2c 47 6f 43 6f 6e | 74 65 6e 74 73 2c 47 6f |"-,GoCon|tents,Go|
|00001760| 50 72 65 76 69 6f 75 73 | 41 72 74 69 63 6c 65 2c |Previous|Article,|
|00001770| 47 6f 4e 65 78 74 41 72 | 74 69 63 6c 65 2c 47 6f |GoNextAr|ticle,Go|
|00001780| 50 72 65 76 42 6f 6f 6b | 4d 61 72 6b 2c 47 6f 42 |PrevBook|Mark,GoB|
|00001790| 6f 6f 6b 4d 61 72 6b 22 | 20 69 6e 74 6f 20 6d 73 |ookMark"| into ms|
|000017a0| 67 4c 69 73 74 0d 70 75 | 74 20 22 2c 35 2c 36 2c |gList.pu|t ",5,6,|
|000017b0| 37 2c 38 2c 39 22 20 69 | 6e 74 6f 20 63 6d 64 43 |7,8,9" i|nto cmdC|
|000017c0| 68 61 72 4c 69 73 74 0d | 49 6e 73 65 72 74 4d 65 |harList.|InsertMe|
|000017d0| 6e 75 20 22 47 6f 22 2c | 22 2d 32 22 2c 6d 65 6e |nu "Go",|"-2",men|
|000017e0| 75 4c 69 73 74 2c 6d 73 | 67 4c 69 73 74 2c 63 6d |uList,ms|gList,cm|
|000017f0| 64 43 68 61 72 4c 69 73 | 74 0d 65 6e 64 20 69 66 |dCharLis|t.end if|
|00001800| 0d 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |..if the|re is a |
|00001810| 6d 65 6e 75 49 74 65 6d | 20 22 46 69 6e 64 2e 2e |menuItem| "Find..|
|00001820| 2e 22 20 6f 66 20 6d 65 | 6e 75 20 22 47 6f 22 20 |." of me|nu "Go" |
|00001830| 74 68 65 6e 0d 70 75 74 | 20 22 46 69 6e 64 20 41 |then.put| "Find A|
|00001840| 67 61 69 6e 22 20 61 66 | 74 65 72 20 6d 65 6e 75 |gain" af|ter menu|
|00001850| 69 74 65 6d 20 22 46 69 | 6e 64 2e 2e 2e 22 20 6f |item "Fi|nd..." o|
|00001860| 66 20 6d 65 6e 75 20 22 | 47 6f 22 20 c2 0d 77 69 |f menu "|Go" ..wi|
|00001870| 74 68 20 6d 65 6e 75 6d | 65 73 73 61 67 65 73 20 |th menum|essages |
|00001880| 22 53 74 61 72 74 53 65 | 61 72 63 68 20 74 72 75 |"StartSe|arch tru|
|00001890| 65 22 0d 73 65 74 20 74 | 68 65 20 63 6f 6d 6d 61 |e".set t|he comma|
|000018a0| 6e 64 43 68 61 72 20 6f | 66 20 6d 65 6e 75 49 74 |ndChar o|f menuIt|
|000018b0| 65 6d 20 22 46 69 6e 64 | 20 41 67 61 69 6e 22 20 |em "Find| Again" |
|000018c0| 6f 66 20 6d 65 6e 75 20 | 22 47 6f 22 20 74 6f 20 |of menu |"Go" to |
|000018d0| 22 47 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 69 |"G".end |if.end i|
|000018e0| 66 0d 65 6e 64 20 53 65 | 74 55 70 4d 65 6e 75 73 |f.end Se|tUpMenus|
|000018f0| 0d 0d 6f 6e 20 49 6e 73 | 65 72 74 4d 65 6e 75 20 |..on Ins|ertMenu |
|00001900| 74 68 65 4d 65 6e 75 2c | 74 68 65 50 6f 73 69 74 |theMenu,|thePosit|
|00001910| 69 6f 6e 2c 6d 65 6e 75 | 4c 69 73 74 2c 6d 73 67 |ion,menu|List,msg|
|00001920| 4c 69 73 74 2c 63 6d 64 | 43 68 61 72 4c 69 73 74 |List,cmd|CharList|
|00001930| 0d 70 75 74 20 4c 69 6e | 65 4e 75 6d 62 65 72 28 |.put Lin|eNumber(|
|00001940| 74 68 65 50 6f 73 69 74 | 69 6f 6e 2c 6d 65 6e 75 |thePosit|ion,menu|
|00001950| 20 74 68 65 4d 65 6e 75 | 29 20 69 6e 74 6f 20 74 | theMenu|) into t|
|00001960| 68 65 49 74 65 6d 0d 69 | 66 20 74 68 65 49 74 65 |heItem.i|f theIte|
|00001970| 6d 20 69 73 20 30 20 74 | 68 65 6e 20 65 78 69 74 |m is 0 t|hen exit|
|00001980| 20 49 6e 73 65 72 74 4d | 65 6e 75 0d 72 65 70 65 | InsertM|enu.repe|
|00001990| 61 74 20 77 69 74 68 20 | 69 20 3d 20 74 68 65 20 |at with |i = the |
|000019a0| 6e 75 6d 62 65 72 20 6f | 66 20 69 74 65 6d 73 20 |number o|f items |
|000019b0| 6f 66 20 6d 65 6e 75 4c | 69 73 74 20 64 6f 77 6e |of menuL|ist down|
|000019c0| 20 74 6f 20 31 0d 70 75 | 74 20 69 74 65 6d 20 69 | to 1.pu|t item i|
|000019d0| 20 6f 66 20 6d 65 6e 75 | 4c 69 73 74 20 69 6e 74 | of menu|List int|
|000019e0| 6f 20 69 74 65 6d 4e 61 | 6d 65 0d 69 66 20 74 68 |o itemNa|me.if th|
|000019f0| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 49 74 65 |ere is a| menuIte|
|00001a00| 6d 20 69 74 65 6d 4e 61 | 6d 65 20 6f 66 20 6d 65 |m itemNa|me of me|
|00001a10| 6e 75 20 74 68 65 4d 65 | 6e 75 20 74 68 65 6e 20 |nu theMe|nu then |
|00001a20| 6e 65 78 74 20 72 65 70 | 65 61 74 0d 0d 70 75 74 |next rep|eat..put|
|00001a30| 20 69 74 65 6d 4e 61 6d | 65 20 62 65 66 6f 72 65 | itemNam|e before|
|00001a40| 20 6d 65 6e 75 49 74 65 | 6d 20 74 68 65 49 74 65 | menuIte|m theIte|
|00001a50| 6d 20 6f 66 20 6d 65 6e | 75 20 74 68 65 4d 65 6e |m of men|u theMen|
|00001a60| 75 20 20 c2 0d 77 69 74 | 68 20 6d 65 6e 75 6d 65 |u ..wit|h menume|
|00001a70| 73 73 61 67 65 73 20 69 | 74 65 6d 20 69 20 6f 66 |ssages i|tem i of|
|00001a80| 20 6d 73 67 4c 69 73 74 | 0d 69 66 20 69 74 65 6d | msgList|.if item|
|00001a90| 20 69 20 6f 66 20 63 6d | 64 43 68 61 72 4c 69 73 | i of cm|dCharLis|
|00001aa0| 74 20 69 73 20 6e 6f 74 | 20 65 6d 70 74 79 20 74 |t is not| empty t|
|00001ab0| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 63 6f 6d 6d |hen.set |the comm|
|00001ac0| 61 6e 64 43 68 61 72 20 | 6f 66 20 6d 65 6e 75 49 |andChar |of menuI|
|00001ad0| 74 65 6d 20 69 74 65 6d | 4e 61 6d 65 20 6f 66 20 |tem item|Name of |
|00001ae0| 6d 65 6e 75 20 74 68 65 | 4d 65 6e 75 20 74 6f 20 |menu the|Menu to |
|00001af0| 69 74 65 6d 20 69 20 6f | 66 20 63 6d 64 43 68 61 |item i o|f cmdCha|
|00001b00| 72 4c 69 73 74 0d 65 6e | 64 20 69 66 0d 65 6e 64 |rList.en|d if.end|
|00001b10| 20 72 65 70 65 61 74 0d | 65 6e 64 20 49 6e 73 65 | repeat.|end Inse|
|00001b20| 72 74 4d 65 6e 75 0d 0d | 6f 6e 20 52 65 6d 6f 76 |rtMenu..|on Remov|
|00001b30| 65 4d 65 6e 75 73 0d 72 | 65 73 65 74 20 6d 65 6e |eMenus.r|eset men|
|00001b40| 75 62 61 72 0d 65 6e 64 | 20 52 65 6d 6f 76 65 4d |ubar.end| RemoveM|
|00001b50| 65 6e 75 73 0d 0d 46 55 | 4e 43 54 49 4f 4e 20 41 |enus..FU|NCTION A|
|00001b60| 75 74 6f 46 6c 6f 77 69 | 6e 67 0d 72 65 74 75 72 |utoFlowi|ng.retur|
|00001b70| 6e 20 74 68 65 20 73 74 | 61 63 6b 73 69 6e 75 73 |n the st|acksinus|
|00001b80| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 61 75 74 6f |e contai|ns "auto|
|00001b90| 66 6c 6f 77 22 0d 65 6e | 64 20 41 75 74 6f 46 6c |flow".en|d AutoFl|
|00001ba0| 6f 77 69 6e 67 0d 0d 6f | 6e 20 54 6f 67 67 6c 65 |owing..o|n Toggle|
|00001bb0| 42 6c 69 6e 64 54 79 70 | 69 6e 67 0d 67 65 74 20 |BlindTyp|ing.get |
|00001bc0| 6e 6f 74 20 74 68 65 20 | 62 6c 69 6e 64 54 79 70 |not the |blindTyp|
|00001bd0| 69 6e 67 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ing.if t|here is |
|00001be0| 61 20 6d 65 6e 75 49 74 | 65 6d 20 22 42 6c 69 6e |a menuIt|em "Blin|
|00001bf0| 64 20 54 79 70 69 6e 67 | 22 20 6f 66 20 6d 65 6e |d Typing|" of men|
|00001c00| 75 20 22 46 69 6c 65 22 | 0d 74 68 65 6e 20 73 65 |u "File"|.then se|
|00001c10| 74 20 74 68 65 20 63 68 | 65 63 6b 6d 61 72 6b 20 |t the ch|eckmark |
|00001c20| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 42 6c 69 |of menuI|tem "Bli|
|00001c30| 6e 64 20 54 79 70 69 6e | 67 22 20 6f 66 20 6d 65 |nd Typin|g" of me|
|00001c40| 6e 75 20 22 46 69 6c 65 | 22 20 74 6f 20 69 74 0d |nu "File|" to it.|
|00001c50| 73 65 74 20 74 68 65 20 | 42 6c 69 6e 64 54 79 70 |set the |BlindTyp|
|00001c60| 69 6e 67 20 74 6f 20 69 | 74 0d 65 6e 64 20 54 6f |ing to i|t.end To|
|00001c70| 67 67 6c 65 42 6c 69 6e | 64 54 79 70 69 6e 67 0d |ggleBlin|dTyping.|
|00001c80| 0d 2d 2d 09 47 4f 20 74 | 68 69 6e 67 73 0d 6f 6e |.--.GO t|hings.on|
|00001c90| 20 47 6f 50 61 67 65 20 | 74 68 65 43 61 72 64 2c | GoPage |theCard,|
|00001ca0| 74 68 65 45 66 66 65 63 | 74 2c 74 68 65 53 74 61 |theEffec|t,theSta|
|00001cb0| 63 6b 0d 69 66 20 74 68 | 65 45 66 66 65 63 74 20 |ck.if th|eEffect |
|00001cc0| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00001cd0| 74 20 22 70 6c 61 69 6e | 22 20 69 6e 74 6f 20 74 |t "plain|" into t|
|00001ce0| 68 65 45 66 66 65 63 74 | 0d 69 66 20 74 68 65 53 |heEffect|.if theS|
|00001cf0| 74 61 63 6b 20 69 73 20 | 65 6d 70 74 79 20 74 68 |tack is |empty th|
|00001d00| 65 6e 20 70 75 74 20 53 | 74 61 63 6b 4e 61 6d 65 |en put S|tackName|
|00001d10| 28 29 20 69 6e 74 6f 20 | 74 68 65 53 74 61 63 6b |() into |theStack|
|00001d20| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 67 6f 20 |.lock sc|reen.go |
|00001d30| 74 6f 20 63 61 72 64 20 | 74 68 65 43 61 72 64 20 |to card |theCard |
|00001d40| 6f 66 20 73 74 61 63 6b | 20 74 68 65 53 74 61 63 |of stack| theStac|
|00001d50| 6b 0d 75 6e 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |k.unlock| screen |
|00001d60| 77 69 74 68 20 76 69 73 | 75 61 6c 20 65 66 66 65 |with vis|ual effe|
|00001d70| 63 74 20 74 68 65 45 66 | 66 65 63 74 0d 73 65 74 |ct theEf|fect.set|
|00001d80| 20 74 68 65 20 6c 6f 63 | 6b 73 63 72 65 65 6e 20 | the loc|kscreen |
|00001d90| 74 6f 20 66 61 6c 73 65 | 0d 72 65 70 65 61 74 20 |to false|.repeat |
|00001da0| 77 68 69 6c 65 20 74 68 | 65 20 6d 6f 75 73 65 63 |while th|e mousec|
|00001db0| 6c 69 63 6b 0d 67 65 74 | 20 74 68 65 20 6d 6f 75 |lick.get| the mou|
|00001dc0| 73 65 63 6c 69 63 6b 0d | 65 6e 64 20 72 65 70 65 |seclick.|end repe|
|00001dd0| 61 74 0d 65 6e 64 20 47 | 6f 50 61 67 65 0d 0d 6f |at.end G|oPage..o|
|00001de0| 6e 20 47 6f 54 6f 50 61 | 67 65 0d 70 75 74 20 74 |n GoToPa|ge.put t|
|00001df0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 63 61 72 |he numbe|r of car|
|00001e00| 64 73 20 6f 66 20 62 67 | 20 22 54 65 78 74 22 20 |ds of bg| "Text" |
|00001e10| 69 6e 74 6f 20 6c 61 73 | 74 50 61 67 65 0d 69 66 |into las|tPage.if|
|00001e20| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 74 | the num|ber of t|
|00001e30| 68 69 73 20 63 61 72 64 | 20 69 73 20 74 68 65 20 |his card| is the |
|00001e40| 6e 75 6d 62 65 72 20 6f | 66 20 6c 61 73 74 20 63 |number o|f last c|
|00001e50| 61 72 64 20 6f 66 20 62 | 67 20 22 54 65 78 74 22 |ard of b|g "Text"|
|00001e60| 20 c2 0d 6f 72 20 74 68 | 65 20 6e 75 6d 62 65 72 | ..or th|e number|
|00001e70| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 20 3c 20 | of this| card < |
|00001e80| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 66 69 |the numb|er of fi|
|00001e90| 72 73 74 20 63 61 72 64 | 20 6f 66 20 62 67 20 22 |rst card| of bg "|
|00001ea0| 54 65 78 74 22 20 74 68 | 65 6e 0d 67 65 74 20 31 |Text" th|en.get 1|
|00001eb0| 0d 65 6c 73 65 20 67 65 | 74 20 50 61 67 65 4e 75 |.else ge|t PageNu|
|00001ec0| 6d 62 65 72 28 29 2b 31 | 0d 61 73 6b 20 22 47 6f |mber()+1|.ask "Go|
|00001ed0| 20 74 6f 20 77 68 69 63 | 68 20 70 61 67 65 3f 20 | to whic|h page? |
|00001ee0| 28 31 2d 22 26 6c 61 73 | 74 50 61 67 65 26 22 29 |(1-"&las|tPage&")|
|00001ef0| 22 20 77 69 74 68 20 69 | 74 0d 69 66 20 69 74 20 |" with i|t.if it |
|00001f00| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 65 78 |is empty| then ex|
|00001f10| 69 74 20 47 6f 54 6f 50 | 61 67 65 0d 65 6c 73 65 |it GoToP|age.else|
|00001f20| 20 69 66 20 69 74 20 3e | 20 6c 61 73 74 50 61 67 | if it >| lastPag|
|00001f30| 65 20 74 68 65 6e 0d 62 | 65 65 70 0d 65 78 69 74 |e then.b|eep.exit|
|00001f40| 20 47 6f 54 6f 50 61 67 | 65 0d 65 6e 64 20 69 66 | GoToPag|e.end if|
|00001f50| 0d 70 75 74 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |.put the| number |
|00001f60| 6f 66 20 63 61 72 64 20 | 69 74 20 6f 66 20 62 67 |of card |it of bg|
|00001f70| 20 22 74 65 78 74 22 20 | 69 6e 74 6f 20 74 68 65 | "text" |into the|
|00001f80| 50 61 67 65 0d 47 6f 50 | 61 67 65 20 74 68 65 50 |Page.GoP|age theP|
|00001f90| 61 67 65 2c 22 64 69 73 | 73 6f 6c 76 65 20 76 65 |age,"dis|solve ve|
|00001fa0| 72 79 20 66 61 73 74 22 | 0d 65 6e 64 20 47 6f 54 |ry fast"|.end GoT|
|00001fb0| 6f 50 61 67 65 0d 0d 0d | 6f 6e 20 47 6f 4e 65 78 |oPage...|on GoNex|
|00001fc0| 74 50 61 67 65 0d 72 65 | 70 65 61 74 0d 6c 6f 63 |tPage.re|peat.loc|
|00001fd0| 6b 20 73 63 72 65 65 6e | 0d 67 6f 20 6e 65 78 74 |k screen|.go next|
|00001fe0| 0d 75 6e 6c 6f 63 6b 20 | 73 63 72 65 65 6e 20 77 |.unlock |screen w|
|00001ff0| 69 74 68 20 76 69 73 75 | 61 6c 20 65 66 66 65 63 |ith visu|al effec|
|00002000| 74 20 77 69 70 65 20 6c | 65 66 74 20 66 61 73 74 |t wipe l|eft fast|
|00002010| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 20 69 73 |.if the |mouse is|
|00002020| 20 75 70 20 74 68 65 6e | 20 65 78 69 74 20 72 65 | up then| exit re|
|00002030| 70 65 61 74 0d 69 66 20 | 74 68 65 20 6d 6f 75 73 |peat.if |the mous|
|00002040| 65 4c 6f 63 20 69 73 20 | 6e 6f 74 20 77 69 74 68 |eLoc is |not with|
|00002050| 69 6e 20 74 68 65 20 72 | 65 63 74 20 6f 66 20 74 |in the r|ect of t|
|00002060| 68 65 20 74 61 72 67 65 | 74 20 74 68 65 6e 20 65 |he targe|t then e|
|00002070| 78 69 74 20 72 65 70 65 | 61 74 0d 65 6e 64 20 72 |xit repe|at.end r|
|00002080| 65 70 65 61 74 0d 65 6e | 64 20 47 6f 4e 65 78 74 |epeat.en|d GoNext|
|00002090| 50 61 67 65 0d 0d 6f 6e | 20 47 6f 50 72 65 76 69 |Page..on| GoPrevi|
|000020a0| 6f 75 73 50 61 67 65 0d | 72 65 70 65 61 74 0d 6c |ousPage.|repeat.l|
|000020b0| 6f 63 6b 20 73 63 72 65 | 65 6e 0d 67 6f 20 70 72 |ock scre|en.go pr|
|000020c0| 65 76 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ev.unloc|k screen|
|000020d0| 20 77 69 74 68 20 76 69 | 73 75 61 6c 20 65 66 66 | with vi|sual eff|
|000020e0| 65 63 74 20 77 69 70 65 | 20 72 69 67 68 74 20 66 |ect wipe| right f|
|000020f0| 61 73 74 0d 69 66 20 74 | 68 65 20 6d 6f 75 73 65 |ast.if t|he mouse|
|00002100| 20 69 73 20 75 70 20 74 | 68 65 6e 20 65 78 69 74 | is up t|hen exit|
|00002110| 20 72 65 70 65 61 74 0d | 69 66 20 74 68 65 20 6d | repeat.|if the m|
|00002120| 6f 75 73 65 4c 6f 63 20 | 69 73 20 6e 6f 74 20 77 |ouseLoc |is not w|
|00002130| 69 74 68 69 6e 20 74 68 | 65 20 72 65 63 74 20 6f |ithin th|e rect o|
|00002140| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 74 68 65 |f the ta|rget the|
|00002150| 6e 20 65 78 69 74 20 72 | 65 70 65 61 74 0d 65 6e |n exit r|epeat.en|
|00002160| 64 20 72 65 70 65 61 74 | 0d 65 6e 64 20 47 6f 50 |d repeat|.end GoP|
|00002170| 72 65 76 69 6f 75 73 50 | 61 67 65 0d 0d 6f 6e 20 |reviousP|age..on |
|00002180| 47 6f 4e 65 78 74 41 72 | 74 69 63 6c 65 0d 70 75 |GoNextAr|ticle.pu|
|00002190| 74 20 43 61 72 64 4e 75 | 6d 62 65 72 28 29 20 69 |t CardNu|mber() i|
|000021a0| 6e 74 6f 20 74 68 65 43 | 61 72 64 0d 72 65 70 65 |nto theC|ard.repe|
|000021b0| 61 74 0d 69 66 20 42 65 | 67 69 6e 6e 69 6e 67 4f |at.if Be|ginningO|
|000021c0| 66 53 65 63 74 69 6f 6e | 28 29 20 74 68 65 6e 20 |fSection|() then |
|000021d0| 61 64 64 20 31 20 74 6f | 20 74 68 65 43 61 72 64 |add 1 to| theCard|
|000021e0| 0d 72 65 70 65 61 74 20 | 77 68 69 6c 65 20 6e 6f |.repeat |while no|
|000021f0| 74 20 42 65 67 69 6e 6e | 69 6e 67 4f 66 53 65 63 |t Beginn|ingOfSec|
|00002200| 74 69 6f 6e 28 74 68 65 | 43 61 72 64 29 0d 61 64 |tion(the|Card).ad|
|00002210| 64 20 31 20 74 6f 20 74 | 68 65 43 61 72 64 0d 69 |d 1 to t|heCard.i|
|00002220| 66 20 74 68 65 43 61 72 | 64 20 3e 20 74 68 65 20 |f theCar|d > the |
|00002230| 6e 75 6d 62 65 72 20 6f | 66 20 63 61 72 64 73 20 |number o|f cards |
|00002240| 74 68 65 6e 20 70 75 74 | 20 31 20 69 6e 74 6f 20 |then put| 1 into |
|00002250| 74 68 65 43 61 72 64 0d | 65 6e 64 20 72 65 70 65 |theCard.|end repe|
|00002260| 61 74 0d 47 6f 50 61 67 | 65 20 74 68 65 43 61 72 |at.GoPag|e theCar|
|00002270| 64 2c 22 7a 6f 6f 6d 20 | 6f 75 74 22 0d 69 66 20 |d,"zoom |out".if |
|00002280| 74 68 65 20 6d 6f 75 73 | 65 20 69 73 20 75 70 20 |the mous|e is up |
|00002290| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|000022a0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|000022b0| 47 6f 4e 65 78 74 41 72 | 74 69 63 6c 65 0d 0d 6f |GoNextAr|ticle..o|
|000022c0| 6e 20 47 6f 50 72 65 76 | 69 6f 75 73 41 72 74 69 |n GoPrev|iousArti|
|000022d0| 63 6c 65 0d 70 75 74 20 | 43 61 72 64 4e 75 6d 62 |cle.put |CardNumb|
|000022e0| 65 72 28 29 20 69 6e 74 | 6f 20 74 68 65 43 61 72 |er() int|o theCar|
|000022f0| 64 0d 72 65 70 65 61 74 | 0d 69 66 20 42 65 67 69 |d.repeat|.if Begi|
|00002300| 6e 6e 69 6e 67 4f 66 53 | 65 63 74 69 6f 6e 28 29 |nningOfS|ection()|
|00002310| 20 74 68 65 6e 20 73 75 | 62 74 72 61 63 74 20 31 | then su|btract 1|
|00002320| 20 66 72 6f 6d 20 74 68 | 65 43 61 72 64 0d 72 65 | from th|eCard.re|
|00002330| 70 65 61 74 20 77 68 69 | 6c 65 20 6e 6f 74 20 42 |peat whi|le not B|
|00002340| 65 67 69 6e 6e 69 6e 67 | 4f 66 53 65 63 74 69 6f |eginning|OfSectio|
|00002350| 6e 28 74 68 65 43 61 72 | 64 29 0d 73 75 62 74 72 |n(theCar|d).subtr|
|00002360| 61 63 74 20 31 20 66 72 | 6f 6d 20 74 68 65 43 61 |act 1 fr|om theCa|
|00002370| 72 64 0d 69 66 20 74 68 | 65 43 61 72 64 20 3c 20 |rd.if th|eCard < |
|00002380| 31 20 74 68 65 6e 20 70 | 75 74 20 74 68 65 20 6e |1 then p|ut the n|
|00002390| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 73 20 69 |umber of| cards i|
|000023a0| 6e 74 6f 20 74 68 65 43 | 61 72 64 0d 65 6e 64 20 |nto theC|ard.end |
|000023b0| 72 65 70 65 61 74 0d 47 | 6f 50 61 67 65 20 74 68 |repeat.G|oPage th|
|000023c0| 65 43 61 72 64 2c 22 7a | 6f 6f 6d 20 6f 75 74 22 |eCard,"z|oom out"|
|000023d0| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 20 69 73 |.if the |mouse is|
|000023e0| 20 75 70 20 74 68 65 6e | 20 65 78 69 74 20 72 65 | up then| exit re|
|000023f0| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|00002400| 65 6e 64 20 47 6f 50 72 | 65 76 69 6f 75 73 41 72 |end GoPr|eviousAr|
|00002410| 74 69 63 6c 65 0d 0d 6f | 6e 20 47 6f 43 6f 6e 74 |ticle..o|n GoCont|
|00002420| 65 6e 74 73 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ents.loc|k screen|
|00002430| 0d 67 65 74 20 43 6f 6e | 74 65 6e 74 73 50 61 67 |.get Con|tentsPag|
|00002440| 65 28 29 0d 69 66 20 69 | 74 20 69 73 20 65 6d 70 |e().if i|t is emp|
|00002450| 74 79 20 74 68 65 6e 20 | 67 6f 20 63 64 20 22 63 |ty then |go cd "c|
|00002460| 6f 6e 74 65 6e 74 73 22 | 0d 65 6c 73 65 20 67 6f |ontents"|.else go|
|00002470| 20 63 64 20 69 74 20 6f | 66 20 62 67 20 22 43 6f | cd it o|f bg "Co|
|00002480| 6e 74 65 6e 74 73 22 0d | 75 6e 6c 6f 63 6b 20 73 |ntents".|unlock s|
|00002490| 63 72 65 65 6e 20 77 69 | 74 68 20 76 69 73 75 61 |creen wi|th visua|
|000024a0| 6c 20 65 66 66 65 63 74 | 20 69 72 69 73 20 63 6c |l effect| iris cl|
|000024b0| 6f 73 65 0d 65 6e 64 20 | 47 6f 43 6f 6e 74 65 6e |ose.end |GoConten|
|000024c0| 74 73 0d 0d 6f 6e 20 47 | 6f 54 6f 53 6c 65 65 70 |ts..on G|oToSleep|
|000024d0| 0d 73 65 6e 64 20 22 64 | 6f 4d 65 6e 75 20 51 75 |.send "d|oMenu Qu|
|000024e0| 69 74 20 48 79 70 65 72 | 43 61 72 64 22 20 74 6f |it Hyper|Card" to|
|000024f0| 20 48 79 70 65 72 43 61 | 72 64 0d 65 6e 64 20 47 | HyperCa|rd.end G|
|00002500| 6f 54 6f 53 6c 65 65 70 | 0d 0d 2d 2d 09 4e 41 4d |oToSleep|..--.NAM|
|00002510| 49 4e 47 20 74 68 69 6e | 67 73 20 28 67 65 74 74 |ING thin|gs (gett|
|00002520| 69 6e 67 2f 73 65 74 74 | 69 6e 67 29 0d 0d 66 75 |ing/sett|ing)..fu|
|00002530| 6e 63 74 69 6f 6e 20 53 | 61 6d 65 52 6f 6f 74 44 |nction S|ameRootD|
|00002540| 69 73 6b 0d 67 65 74 20 | 74 68 65 20 69 74 65 6d |isk.get |the item|
|00002550| 44 65 6c 69 6d 69 74 65 | 72 0d 73 65 74 20 74 68 |Delimite|r.set th|
|00002560| 65 20 69 74 65 6d 44 65 | 6c 69 6d 69 74 65 72 20 |e itemDe|limiter |
|00002570| 74 6f 20 71 75 6f 74 65 | 0d 70 75 74 20 69 74 65 |to quote|.put ite|
|00002580| 6d 20 32 20 6f 66 20 74 | 68 65 20 6c 6f 6e 67 20 |m 2 of t|he long |
|00002590| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 73 74 61 |name of |this sta|
|000025a0| 63 6b 20 69 6e 74 6f 20 | 66 75 6c 6c 50 61 74 68 |ck into |fullPath|
|000025b0| 4e 61 6d 65 0d 73 65 74 | 20 74 68 65 20 69 74 65 |Name.set| the ite|
|000025c0| 6d 44 65 6c 69 6d 69 74 | 65 72 20 74 6f 20 22 3a |mDelimit|er to ":|
|000025d0| 22 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |".put it|em 1 of |
|000025e0| 66 75 6c 6c 50 61 74 68 | 4e 61 6d 65 20 69 6e 74 |fullPath|Name int|
|000025f0| 6f 20 72 6f 6f 74 4e 61 | 6d 65 0d 70 75 74 20 6c |o rootNa|me.put l|
|00002600| 69 6e 65 20 31 20 6f 66 | 20 62 67 20 66 6c 64 20 |ine 1 of| bg fld |
|00002610| 22 73 68 6f 77 6e 6f 74 | 65 73 22 20 6f 66 20 63 |"shownot|es" of c|
|00002620| 64 20 22 63 6f 6e 74 65 | 6e 74 73 22 20 69 6e 74 |d "conte|nts" int|
|00002630| 6f 20 6f 6c 64 52 6f 6f | 74 4e 61 6d 65 0d 73 65 |o oldRoo|tName.se|
|00002640| 74 20 74 68 65 20 69 74 | 65 6d 44 65 6c 69 6d 69 |t the it|emDelimi|
|00002650| 74 65 72 20 74 6f 20 69 | 74 0d 69 66 20 72 6f 6f |ter to i|t.if roo|
|00002660| 74 4e 61 6d 65 20 69 73 | 20 6e 6f 74 20 6f 6c 64 |tName is| not old|
|00002670| 52 6f 6f 74 4e 61 6d 65 | 20 74 68 65 6e 0d 70 75 |RootName| then.pu|
|00002680| 74 20 72 6f 6f 74 4e 61 | 6d 65 20 69 6e 74 6f 20 |t rootNa|me into |
|00002690| 6c 69 6e 65 20 31 20 6f | 66 20 62 67 20 66 6c 64 |line 1 o|f bg fld|
|000026a0| 20 22 73 68 6f 77 6e 6f | 74 65 73 22 20 6f 66 20 | "showno|tes" of |
|000026b0| 63 64 20 22 63 6f 6e 74 | 65 6e 74 73 22 0d 72 65 |cd "cont|ents".re|
|000026c0| 74 75 72 6e 20 66 61 6c | 73 65 0d 65 6c 73 65 20 |turn fal|se.else |
|000026d0| 72 65 74 75 72 6e 20 74 | 72 75 65 0d 65 6e 64 20 |return t|rue.end |
|000026e0| 53 61 6d 65 52 6f 6f 74 | 44 69 73 6b 0d 0d 66 75 |SameRoot|Disk..fu|
|000026f0| 6e 63 74 69 6f 6e 20 53 | 74 61 63 6b 4e 61 6d 65 |nction S|tackName|
|00002700| 0d 72 65 74 75 72 6e 20 | 74 68 65 20 73 68 6f 72 |.return |the shor|
|00002710| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 73 |t name o|f this s|
|00002720| 74 61 63 6b 0d 65 6e 64 | 20 53 74 61 63 6b 4e 61 |tack.end| StackNa|
|00002730| 6d 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 53 65 63 |me..func|tion Sec|
|00002740| 74 69 6f 6e 4e 61 6d 65 | 20 74 68 65 4e 61 6d 65 |tionName| theName|
|00002750| 2c 74 68 65 43 61 72 64 | 0d 69 66 20 74 68 65 43 |,theCard|.if theC|
|00002760| 61 72 64 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |ard is e|mpty the|
|00002770| 6e 20 70 75 74 20 43 61 | 72 64 4e 75 6d 62 65 72 |n put Ca|rdNumber|
|00002780| 28 29 20 69 6e 74 6f 20 | 74 68 65 43 61 72 64 0d |() into |theCard.|
|00002790| 69 66 20 74 68 65 72 65 | 20 69 73 20 6e 6f 74 20 |if there| is not |
|000027a0| 61 20 62 67 20 66 6c 64 | 20 22 73 65 63 74 69 6f |a bg fld| "sectio|
|000027b0| 6e 20 6e 61 6d 65 22 20 | 6f 66 20 63 64 20 74 68 |n name" |of cd th|
|000027c0| 65 43 61 72 64 20 74 68 | 65 6e 20 72 65 74 75 72 |eCard th|en retur|
|000027d0| 6e 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |n the sh|ort name|
|000027e0| 20 6f 66 20 63 61 72 64 | 20 74 68 65 43 61 72 64 | of card| theCard|
|000027f0| 0d 69 66 20 74 68 65 4e | 61 6d 65 20 69 73 20 6e |.if theN|ame is n|
|00002800| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |ot empty| then pu|
|00002810| 74 20 74 68 65 4e 61 6d | 65 20 69 6e 74 6f 20 62 |t theNam|e into b|
|00002820| 67 20 66 6c 64 20 22 73 | 65 63 74 69 6f 6e 20 6e |g fld "s|ection n|
|00002830| 61 6d 65 22 20 6f 66 20 | 63 64 20 74 68 65 43 61 |ame" of |cd theCa|
|00002840| 72 64 0d 72 65 74 75 72 | 6e 20 62 67 20 66 6c 64 |rd.retur|n bg fld|
|00002850| 20 22 73 65 63 74 69 6f | 6e 20 6e 61 6d 65 22 20 | "sectio|n name" |
|00002860| 6f 66 20 63 61 72 64 20 | 74 68 65 43 61 72 64 0d |of card |theCard.|
|00002870| 65 6e 64 20 53 65 63 74 | 69 6f 6e 4e 61 6d 65 0d |end Sect|ionName.|
|00002880| 0d 66 75 6e 63 74 69 6f | 6e 20 45 6e 64 4f 66 53 |.functio|n EndOfS|
|00002890| 65 63 74 69 6f 6e 20 74 | 68 65 43 61 72 64 0d 69 |ection t|heCard.i|
|000028a0| 66 20 74 68 65 43 61 72 | 64 20 69 73 20 65 6d 70 |f theCar|d is emp|
|000028b0| 74 79 20 74 68 65 6e 20 | 70 75 74 20 43 61 72 64 |ty then |put Card|
|000028c0| 4e 75 6d 62 65 72 28 29 | 20 69 6e 74 6f 20 74 68 |Number()| into th|
|000028d0| 65 43 61 72 64 0d 69 66 | 20 53 65 63 74 69 6f 6e |eCard.if| Section|
|000028e0| 4e 61 6d 65 28 2c 74 68 | 65 43 61 72 64 29 20 69 |Name(,th|eCard) i|
|000028f0| 73 20 6e 6f 74 20 53 65 | 63 74 69 6f 6e 4e 61 6d |s not Se|ctionNam|
|00002900| 65 28 2c 4e 65 78 74 50 | 61 67 65 28 74 68 65 43 |e(,NextP|age(theC|
|00002910| 61 72 64 29 29 20 74 68 | 65 6e 0d 72 65 74 75 72 |ard)) th|en.retur|
|00002920| 6e 20 74 72 75 65 0d 65 | 6c 73 65 20 72 65 74 75 |n true.e|lse retu|
|00002930| 72 6e 20 66 61 6c 73 65 | 0d 65 6e 64 20 45 6e 64 |rn false|.end End|
|00002940| 4f 66 53 65 63 74 69 6f | 6e 0d 0d 66 75 6e 63 74 |OfSectio|n..funct|
|00002950| 69 6f 6e 20 42 65 67 69 | 6e 6e 69 6e 67 4f 66 53 |ion Begi|nningOfS|
|00002960| 65 63 74 69 6f 6e 20 74 | 68 65 43 61 72 64 0d 69 |ection t|heCard.i|
|00002970| 66 20 74 68 65 43 61 72 | 64 20 69 73 20 65 6d 70 |f theCar|d is emp|
|00002980| 74 79 20 74 68 65 6e 20 | 70 75 74 20 43 61 72 64 |ty then |put Card|
|00002990| 4e 75 6d 62 65 72 28 29 | 20 69 6e 74 6f 20 74 68 |Number()| into th|
|000029a0| 65 43 61 72 64 0d 69 66 | 20 53 65 63 74 69 6f 6e |eCard.if| Section|
|000029b0| 4e 61 6d 65 28 2c 74 68 | 65 43 61 72 64 29 20 69 |Name(,th|eCard) i|
|000029c0| 73 20 6e 6f 74 20 53 65 | 63 74 69 6f 6e 4e 61 6d |s not Se|ctionNam|
|000029d0| 65 28 2c 50 72 65 76 50 | 61 67 65 28 74 68 65 43 |e(,PrevP|age(theC|
|000029e0| 61 72 64 29 29 20 74 68 | 65 6e 0d 72 65 74 75 72 |ard)) th|en.retur|
|000029f0| 6e 20 74 72 75 65 0d 65 | 6c 73 65 20 72 65 74 75 |n true.e|lse retu|
|00002a00| 72 6e 20 66 61 6c 73 65 | 0d 65 6e 64 20 42 65 67 |rn false|.end Beg|
|00002a10| 69 6e 6e 69 6e 67 4f 66 | 53 65 63 74 69 6f 6e 0d |inningOf|Section.|
|00002a20| 0d 66 75 6e 63 74 69 6f | 6e 20 43 61 72 64 4e 61 |.functio|n CardNa|
|00002a30| 6d 65 20 74 68 65 4e 61 | 6d 65 0d 69 66 20 74 68 |me theNa|me.if th|
|00002a40| 65 4e 61 6d 65 20 69 73 | 20 6e 6f 74 20 65 6d 70 |eName is| not emp|
|00002a50| 74 79 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |ty then |set the |
|00002a60| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 61 72 |name of |this car|
|00002a70| 64 20 74 6f 20 74 68 65 | 4e 61 6d 65 0d 72 65 74 |d to the|Name.ret|
|00002a80| 75 72 6e 20 74 68 65 20 | 73 68 6f 72 74 20 6e 61 |urn the |short na|
|00002a90| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 61 72 64 0d |me of th|is card.|
|00002aa0| 65 6e 64 20 43 61 72 64 | 4e 61 6d 65 0d 0d 66 75 |end Card|Name..fu|
|00002ab0| 6e 63 74 69 6f 6e 20 43 | 61 72 64 4e 75 6d 62 65 |nction C|ardNumbe|
|00002ac0| 72 0d 72 65 74 75 72 6e | 20 74 68 65 20 6e 75 6d |r.return| the num|
|00002ad0| 62 65 72 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ber of t|his card|
|00002ae0| 0d 65 6e 64 20 43 61 72 | 64 4e 75 6d 62 65 72 0d |.end Car|dNumber.|
|00002af0| 0d 66 75 6e 63 74 69 6f | 6e 20 50 61 67 65 4e 61 |.functio|n PageNa|
|00002b00| 6d 65 20 74 68 65 4e 61 | 6d 65 2c 74 68 65 43 61 |me theNa|me,theCa|
|00002b10| 72 64 0d 69 66 20 74 68 | 65 43 61 72 64 20 69 73 |rd.if th|eCard is|
|00002b20| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 70 75 74 20 | empty t|hen put |
|00002b30| 43 61 72 64 4e 75 6d 62 | 65 72 28 29 20 69 6e 74 |CardNumb|er() int|
|00002b40| 6f 20 74 68 65 43 61 72 | 64 0d 69 66 20 74 68 65 |o theCar|d.if the|
|00002b50| 72 65 20 69 73 20 6e 6f | 74 20 61 20 62 67 20 66 |re is no|t a bg f|
|00002b60| 6c 64 20 22 70 61 67 65 | 20 6e 61 6d 65 22 20 6f |ld "page| name" o|
|00002b70| 66 20 63 61 72 64 20 74 | 68 65 43 61 72 64 20 74 |f card t|heCard t|
|00002b80| 68 65 6e 20 72 65 74 75 | 72 6e 20 65 6d 70 74 79 |hen retu|rn empty|
|00002b90| 0d 69 66 20 74 68 65 4e | 61 6d 65 20 69 73 20 6e |.if theN|ame is n|
|00002ba0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |ot empty| then pu|
|00002bb0| 74 20 74 68 65 4e 61 6d | 65 20 69 6e 74 6f 20 62 |t theNam|e into b|
|00002bc0| 67 20 66 6c 64 20 22 70 | 61 67 65 20 6e 61 6d 65 |g fld "p|age name|
|00002bd0| 22 20 6f 66 20 63 61 72 | 64 20 74 68 65 43 61 72 |" of car|d theCar|
|00002be0| 64 0d 72 65 74 75 72 6e | 20 62 67 20 66 6c 64 20 |d.return| bg fld |
|00002bf0| 22 70 61 67 65 20 6e 61 | 6d 65 22 20 6f 66 20 63 |"page na|me" of c|
|00002c00| 61 72 64 20 74 68 65 43 | 61 72 64 0d 65 6e 64 20 |ard theC|ard.end |
|00002c10| 50 61 67 65 4e 61 6d 65 | 0d 0d 66 75 6e 63 74 69 |PageName|..functi|
|00002c20| 6f 6e 20 50 61 67 65 4e | 75 6d 62 65 72 20 74 68 |on PageN|umber th|
|00002c30| 65 4e 75 6d 62 65 72 2c | 74 68 65 43 61 72 64 0d |eNumber,|theCard.|
|00002c40| 69 66 20 74 68 65 43 61 | 72 64 20 69 73 20 65 6d |if theCa|rd is em|
|00002c50| 70 74 79 20 74 68 65 6e | 20 70 75 74 20 43 61 72 |pty then| put Car|
|00002c60| 64 4e 75 6d 62 65 72 28 | 29 20 69 6e 74 6f 20 74 |dNumber(|) into t|
|00002c70| 68 65 43 61 72 64 0d 69 | 66 20 74 68 65 72 65 20 |heCard.i|f there |
|00002c80| 69 73 20 6e 6f 74 20 61 | 20 62 67 20 66 6c 64 20 |is not a| bg fld |
|00002c90| 22 70 61 67 65 20 6e 75 | 6d 62 65 72 22 20 6f 66 |"page nu|mber" of|
|00002ca0| 20 63 61 72 64 20 74 68 | 65 43 61 72 64 20 74 68 | card th|eCard th|
|00002cb0| 65 6e 20 72 65 74 75 72 | 6e 20 65 6d 70 74 79 0d |en retur|n empty.|
|00002cc0| 0d 69 66 20 74 68 65 4e | 75 6d 62 65 72 20 69 73 |.if theN|umber is|
|00002cd0| 20 6e 6f 74 20 65 6d 70 | 74 79 0d 74 68 65 6e 20 | not emp|ty.then |
|00002ce0| 70 75 74 20 74 68 65 4e | 75 6d 62 65 72 20 69 6e |put theN|umber in|
|00002cf0| 74 6f 20 62 67 20 66 6c | 64 20 22 70 61 67 65 20 |to bg fl|d "page |
|00002d00| 6e 75 6d 62 65 72 22 20 | 6f 66 20 63 61 72 64 20 |number" |of card |
|00002d10| 74 68 65 43 61 72 64 0d | 72 65 74 75 72 6e 20 62 |theCard.|return b|
|00002d20| 67 20 66 6c 64 20 22 70 | 61 67 65 20 6e 75 6d 62 |g fld "p|age numb|
|00002d30| 65 72 22 20 6f 66 20 63 | 61 72 64 20 74 68 65 43 |er" of c|ard theC|
|00002d40| 61 72 64 0d 65 6e 64 20 | 50 61 67 65 4e 75 6d 62 |ard.end |PageNumb|
|00002d50| 65 72 0d 0d 6f 6e 20 46 | 69 78 50 61 67 65 4e 75 |er..on F|ixPageNu|
|00002d60| 6d 62 65 72 73 0d 67 6c | 6f 62 61 6c 20 67 50 61 |mbers.gl|obal gPa|
|00002d70| 67 65 4e 75 6d 62 65 72 | 73 41 72 65 44 69 72 74 |geNumber|sAreDirt|
|00002d80| 79 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |y.put em|pty into|
|00002d90| 20 67 50 61 67 65 4e 75 | 6d 62 65 72 73 41 72 65 | gPageNu|mbersAre|
|00002da0| 44 69 72 74 79 0d 70 75 | 73 68 20 63 61 72 64 0d |Dirty.pu|sh card.|
|00002db0| 73 65 74 20 74 68 65 20 | 6c 6f 63 6b 73 63 72 65 |set the |lockscre|
|00002dc0| 65 6e 20 74 6f 20 74 72 | 75 65 0d 73 65 74 20 74 |en to tr|ue.set t|
|00002dd0| 68 65 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |he lockm|essages |
|00002de0| 74 6f 20 74 72 75 65 0d | 73 65 74 20 74 68 65 20 |to true.|set the |
|00002df0| 6c 6f 63 6b 72 65 63 65 | 6e 74 20 74 6f 20 74 72 |lockrece|nt to tr|
|00002e00| 75 65 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |ue.repea|t with i|
|00002e10| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00002e20| 65 72 20 6f 66 20 63 61 | 72 64 73 20 6f 66 20 62 |er of ca|rds of b|
|00002e30| 67 20 22 74 65 78 74 22 | 0d 2d 2d 20 73 65 74 20 |g "text"|.-- set |
|00002e40| 74 68 65 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |the curs|or to bu|
|00002e50| 73 79 0d 70 75 74 20 69 | 0d 67 6f 20 63 64 20 69 |sy.put i|.go cd i|
|00002e60| 20 6f 66 20 62 67 20 22 | 74 65 78 74 22 0d 67 65 | of bg "|text".ge|
|00002e70| 74 20 50 61 67 65 4e 75 | 6d 62 65 72 28 69 29 0d |t PageNu|mber(i).|
|00002e80| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 6f 70 20 63 |end repe|at.pop c|
|00002e90| 61 72 64 0d 65 6e 64 20 | 46 69 78 50 61 67 65 4e |ard.end |FixPageN|
|00002ea0| 75 6d 62 65 72 73 0d 0d | 66 75 6e 63 74 69 6f 6e |umbers..|function|
|00002eb0| 20 50 72 65 76 50 61 67 | 65 20 74 68 65 50 61 67 | PrevPag|e thePag|
|00002ec0| 65 0d 69 66 20 74 68 65 | 50 61 67 65 20 69 73 20 |e.if the|Page is |
|00002ed0| 65 6d 70 74 79 20 74 68 | 65 6e 20 72 65 74 75 72 |empty th|en retur|
|00002ee0| 6e 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |n the nu|mber of |
|00002ef0| 70 72 65 76 69 6f 75 73 | 20 63 61 72 64 0d 73 75 |previous| card.su|
|00002f00| 62 74 72 61 63 74 20 31 | 20 66 72 6f 6d 20 74 68 |btract 1| from th|
|00002f10| 65 50 61 67 65 0d 69 66 | 20 74 68 65 50 61 67 65 |ePage.if| thePage|
|00002f20| 20 3c 20 31 20 74 68 65 | 6e 0d 72 65 74 75 72 6e | < 1 the|n.return|
|00002f30| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00002f40| 61 73 74 20 63 61 72 64 | 0d 65 6c 73 65 20 72 65 |ast card|.else re|
|00002f50| 74 75 72 6e 20 74 68 65 | 50 61 67 65 0d 65 6e 64 |turn the|Page.end|
|00002f60| 20 50 72 65 76 50 61 67 | 65 0d 0d 66 75 6e 63 74 | PrevPag|e..funct|
|00002f70| 69 6f 6e 20 4e 65 78 74 | 50 61 67 65 20 74 68 65 |ion Next|Page the|
|00002f80| 50 61 67 65 0d 69 66 20 | 74 68 65 50 61 67 65 20 |Page.if |thePage |
|00002f90| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 72 65 |is empty| then re|
|00002fa0| 74 75 72 6e 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |turn the| number |
|00002fb0| 6f 66 20 6e 65 78 74 20 | 63 61 72 64 0d 61 64 64 |of next |card.add|
|00002fc0| 20 31 20 74 6f 20 74 68 | 65 50 61 67 65 0d 69 66 | 1 to th|ePage.if|
|00002fd0| 20 74 68 65 50 61 67 65 | 20 3e 20 74 68 65 20 6e | thePage| > the n|
|00002fe0| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 73 20 74 |umber of| cards t|
|00002ff0| 68 65 6e 0d 72 65 74 75 | 72 6e 20 31 0d 65 6c 73 |hen.retu|rn 1.els|
|00003000| 65 20 72 65 74 75 72 6e | 20 74 68 65 50 61 67 65 |e return| thePage|
|00003010| 0d 65 6e 64 20 4e 65 78 | 74 50 61 67 65 0d 0d 66 |.end Nex|tPage..f|
|00003020| 75 6e 63 74 69 6f 6e 20 | 49 73 46 6c 6f 77 46 69 |unction |IsFlowFi|
|00003030| 65 6c 64 20 74 68 65 46 | 69 65 6c 64 2c 62 67 46 |eld theF|ield,bgF|
|00003040| 6c 64 2c 74 68 65 43 61 | 72 64 0d 69 66 20 62 67 |ld,theCa|rd.if bg|
|00003050| 46 6c 64 20 69 73 20 65 | 6d 70 74 79 20 74 68 65 |Fld is e|mpty the|
|00003060| 6e 20 70 75 74 20 22 62 | 67 22 20 69 6e 74 6f 20 |n put "b|g" into |
|00003070| 62 67 46 6c 64 0d 69 66 | 20 74 68 65 43 61 72 64 |bgFld.if| theCard|
|00003080| 20 69 73 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | is empt|y then p|
|00003090| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|000030a0| 20 74 68 69 73 20 63 61 | 72 64 20 69 6e 74 6f 20 | this ca|rd into |
|000030b0| 74 68 65 43 61 72 64 0d | 0d 69 66 20 74 68 65 46 |theCard.|.if theF|
|000030c0| 69 65 6c 64 20 69 73 20 | 61 20 6e 75 6d 62 65 72 |ield is |a number|
|000030d0| 0d 74 68 65 6e 20 70 75 | 74 20 74 68 65 20 73 68 |.then pu|t the sh|
|000030e0| 6f 72 74 20 6e 61 6d 65 | 20 6f 66 20 28 62 67 46 |ort name| of (bgF|
|000030f0| 6c 64 26 26 22 66 6c 64 | 22 26 26 74 68 65 46 69 |ld&&"fld|"&&theFi|
|00003100| 65 6c 64 26 26 22 6f 66 | 20 63 61 72 64 22 26 26 |eld&&"of| card"&&|
|00003110| 74 68 65 43 61 72 64 29 | 20 69 6e 74 6f 20 74 68 |theCard)| into th|
|00003120| 65 46 69 65 6c 64 0d 72 | 65 74 75 72 6e 20 74 68 |eField.r|eturn th|
|00003130| 65 46 69 65 6c 64 20 63 | 6f 6e 74 61 69 6e 73 20 |eField c|ontains |
|00003140| 22 66 6c 6f 77 22 0d 65 | 6e 64 20 49 73 46 6c 6f |"flow".e|nd IsFlo|
|00003150| 77 46 69 65 6c 64 0d 0d | 2d 2d 09 43 4f 4e 54 45 |wField..|--.CONTE|
|00003160| 4e 54 53 20 74 68 69 6e | 67 73 0d 66 75 6e 63 74 |NTS thin|gs.funct|
|00003170| 69 6f 6e 20 43 6f 6e 74 | 65 6e 74 73 4c 69 73 74 |ion Cont|entsList|
|00003180| 0d 72 65 74 75 72 6e 20 | 62 67 20 66 6c 64 20 22 |.return |bg fld "|
|00003190| 63 6f 6e 74 65 6e 74 73 | 22 20 6f 66 20 63 64 20 |contents|" of cd |
|000031a0| 22 63 6f 6e 74 65 6e 74 | 73 22 0d 65 6e 64 20 43 |"content|s".end C|
|000031b0| 6f 6e 74 65 6e 74 73 4c | 69 73 74 0d 0d 66 75 6e |ontentsL|ist..fun|
|000031c0| 63 74 69 6f 6e 20 43 6f | 6e 74 65 6e 74 73 46 69 |ction Co|ntentsFi|
|000031d0| 65 6c 64 0d 72 65 74 75 | 72 6e 20 22 62 67 20 66 |eld.retu|rn "bg f|
|000031e0| 6c 64 20 22 26 71 75 6f | 74 65 26 22 63 6f 6e 74 |ld "&quo|te&"cont|
|000031f0| 65 6e 74 73 22 26 71 75 | 6f 74 65 26 22 20 6f 66 |ents"&qu|ote&" of|
|00003200| 20 63 64 20 22 26 71 75 | 6f 74 65 26 22 63 6f 6e | cd "&qu|ote&"con|
|00003210| 74 65 6e 74 73 22 26 71 | 75 6f 74 65 0d 65 6e 64 |tents"&q|uote.end|
|00003220| 20 43 6f 6e 74 65 6e 74 | 73 46 69 65 6c 64 0d 0d | Content|sField..|
|00003230| 6f 6e 20 43 6f 6e 74 65 | 6e 74 73 43 6c 69 63 6b |on Conte|ntsClick|
|00003240| 20 77 68 69 63 68 4c 69 | 6e 65 0d 69 66 20 77 68 | whichLi|ne.if wh|
|00003250| 69 63 68 4c 69 6e 65 20 | 69 73 20 65 6d 70 74 79 |ichLine |is empty|
|00003260| 20 74 68 65 6e 20 70 75 | 74 20 77 6f 72 64 20 32 | then pu|t word 2|
|00003270| 20 6f 66 20 74 68 65 20 | 63 6c 69 63 6b 6c 69 6e | of the |clicklin|
|00003280| 65 20 69 6e 74 6f 20 77 | 68 69 63 68 4c 69 6e 65 |e into w|hichLine|
|00003290| 0d 70 75 74 20 53 74 72 | 69 70 53 70 61 63 65 73 |.put Str|ipSpaces|
|000032a0| 28 6c 69 6e 65 20 77 68 | 69 63 68 4c 69 6e 65 20 |(line wh|ichLine |
|000032b0| 6f 66 20 43 6f 6e 74 65 | 6e 74 73 4c 69 73 74 28 |of Conte|ntsList(|
|000032c0| 29 29 20 69 6e 74 6f 20 | 74 68 65 43 61 72 64 0d |)) into |theCard.|
|000032d0| 73 65 74 20 74 68 65 20 | 74 65 78 74 53 74 79 6c |set the |textStyl|
|000032e0| 65 20 6f 66 20 6c 69 6e | 65 20 31 20 74 6f 20 28 |e of lin|e 1 to (|
|000032f0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00003300| 6e 65 73 20 6f 66 20 74 | 61 72 67 65 74 29 20 6f |nes of t|arget) o|
|00003310| 66 20 74 68 65 20 74 61 | 72 67 65 74 20 74 6f 20 |f the ta|rget to |
|00003320| 70 6c 61 69 6e 0d 73 65 | 74 20 74 68 65 20 74 65 |plain.se|t the te|
|00003330| 78 74 53 74 79 6c 65 20 | 6f 66 20 6c 69 6e 65 20 |xtStyle |of line |
|00003340| 77 68 69 63 68 4c 69 6e | 65 20 6f 66 20 74 68 65 |whichLin|e of the|
|00003350| 20 74 61 72 67 65 74 20 | 74 6f 20 22 75 6e 64 65 | target |to "unde|
|00003360| 72 6c 69 6e 65 22 0d 47 | 6f 50 61 67 65 20 74 68 |rline".G|oPage th|
|00003370| 65 43 61 72 64 2c 20 22 | 7a 6f 6f 6d 20 6f 75 74 |eCard, "|zoom out|
|00003380| 22 0d 65 6e 64 20 43 6f | 6e 74 65 6e 74 73 43 6c |".end Co|ntentsCl|
|00003390| 69 63 6b 0d 0d 6f 6e 20 | 4e 65 78 74 43 6c 69 63 |ick..on |NextClic|
|000033a0| 6b 0d 47 6f 4e 65 78 74 | 0d 65 6e 64 20 4e 65 78 |k.GoNext|.end Nex|
|000033b0| 74 43 6c 69 63 6b 0d 0d | 6f 6e 20 50 72 65 76 43 |tClick..|on PrevC|
|000033c0| 6c 69 63 6b 0d 47 6f 50 | 72 65 76 0d 65 6e 64 20 |lick.GoP|rev.end |
|000033d0| 50 72 65 76 43 6c 69 63 | 6b 0d 0d 2d 2d 0d 0d 66 |PrevClic|k..--..f|
|000033e0| 75 6e 63 74 69 6f 6e 20 | 53 68 6f 77 69 6e 67 4e |unction |ShowingN|
|000033f0| 6f 74 65 73 0d 72 65 74 | 75 72 6e 20 6c 69 6e 65 |otes.ret|urn line|
|00003400| 20 32 20 6f 66 20 62 67 | 20 66 6c 64 20 22 73 68 | 2 of bg| fld "sh|
|00003410| 6f 77 6e 6f 74 65 73 22 | 20 6f 66 20 63 64 20 22 |ownotes"| of cd "|
|00003420| 63 6f 6e 74 65 6e 74 73 | 22 20 69 73 20 6e 6f 74 |contents|" is not|
|00003430| 20 22 66 61 6c 73 65 22 | 0d 65 6e 64 20 53 68 6f | "false"|.end Sho|
|00003440| 77 69 6e 67 4e 6f 74 65 | 73 0d 0d 6f 6e 20 53 68 |wingNote|s..on Sh|
|00003450| 6f 77 4e 6f 74 65 73 20 | 74 68 65 53 74 61 74 65 |owNotes |theState|
|00003460| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 6e 6f 74 |.if ther|e is not|
|00003470| 20 61 20 62 67 20 62 74 | 6e 20 22 53 68 6f 77 4e | a bg bt|n "ShowN|
|00003480| 6f 74 65 73 22 20 74 68 | 65 6e 20 65 78 69 74 20 |otes" th|en exit |
|00003490| 53 68 6f 77 4e 6f 74 65 | 73 0d 69 66 20 74 68 65 |ShowNote|s.if the|
|000034a0| 53 74 61 74 65 20 69 73 | 20 6e 6f 74 20 66 61 6c |State is| not fal|
|000034b0| 73 65 20 74 68 65 6e 20 | 70 75 74 20 74 72 75 65 |se then |put true|
|000034c0| 20 69 6e 74 6f 20 74 68 | 65 53 74 61 74 65 0d 0d | into th|eState..|
|000034d0| 70 75 74 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 |put the |rect of |
|000034e0| 63 61 72 64 20 77 69 6e | 64 6f 77 20 69 6e 74 6f |card win|dow into|
|000034f0| 20 74 68 65 52 65 63 74 | 0d 69 66 20 74 68 65 53 | theRect|.if theS|
|00003500| 74 61 74 65 20 74 68 65 | 6e 0d 68 69 64 65 20 62 |tate the|n.hide b|
|00003510| 67 20 62 74 6e 20 22 53 | 68 6f 77 4e 6f 74 65 73 |g btn "S|howNotes|
|00003520| 22 0d 73 68 6f 77 20 62 | 67 20 62 74 6e 20 22 48 |".show b|g btn "H|
|00003530| 69 64 65 4e 6f 74 65 73 | 22 0d 67 65 74 20 69 74 |ideNotes|".get it|
|00003540| 65 6d 20 31 20 6f 66 20 | 74 68 65 52 65 63 74 20 |em 1 of |theRect |
|00003550| 2b 20 35 31 32 0d 69 66 | 20 69 74 20 3e 20 69 74 |+ 512.if| it > it|
|00003560| 65 6d 20 33 20 6f 66 20 | 74 68 65 20 73 63 72 65 |em 3 of |the scre|
|00003570| 65 6e 52 65 63 74 20 74 | 68 65 6e 0d 70 75 74 20 |enRect t|hen.put |
|00003580| 69 74 65 6d 20 33 20 6f | 66 20 74 68 65 20 73 63 |item 3 o|f the sc|
|00003590| 72 65 65 6e 52 65 63 74 | 20 69 6e 74 6f 20 69 74 |reenRect| into it|
|000035a0| 65 6d 20 33 20 6f 66 20 | 74 68 65 52 65 63 74 0d |em 3 of |theRect.|
|000035b0| 70 75 74 20 69 74 65 6d | 20 33 20 6f 66 20 74 68 |put item| 3 of th|
|000035c0| 65 52 65 63 74 20 2d 20 | 35 31 32 20 69 6e 74 6f |eRect - |512 into|
|000035d0| 20 69 74 65 6d 20 31 20 | 6f 66 20 74 68 65 52 65 | item 1 |of theRe|
|000035e0| 63 74 0d 65 6c 73 65 20 | 70 75 74 20 69 74 20 69 |ct.else |put it i|
|000035f0| 6e 74 6f 20 69 74 65 6d | 20 33 20 6f 66 20 74 68 |nto item| 3 of th|
|00003600| 65 52 65 63 74 0d 69 66 | 20 74 68 65 72 65 20 69 |eRect.if| there i|
|00003610| 73 20 61 20 6d 65 6e 75 | 49 74 65 6d 20 22 53 68 |s a menu|Item "Sh|
|00003620| 6f 77 20 4e 6f 74 65 73 | 22 20 6f 66 20 6d 65 6e |ow Notes|" of men|
|00003630| 75 20 22 45 64 69 74 22 | 0d 74 68 65 6e 20 73 65 |u "Edit"|.then se|
|00003640| 74 20 74 68 65 20 63 68 | 65 63 6b 6d 61 72 6b 20 |t the ch|eckmark |
|00003650| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 53 68 6f |of menuI|tem "Sho|
|00003660| 77 20 4e 6f 74 65 73 22 | 20 6f 66 20 6d 65 6e 75 |w Notes"| of menu|
|00003670| 20 22 45 64 69 74 22 20 | 74 6f 20 74 72 75 65 0d | "Edit" |to true.|
|00003680| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 6c 69 |put true| into li|
|00003690| 6e 65 20 32 20 6f 66 20 | 62 67 20 66 6c 64 20 22 |ne 2 of |bg fld "|
|000036a0| 73 68 6f 77 6e 6f 74 65 | 73 22 20 6f 66 20 63 64 |shownote|s" of cd|
|000036b0| 20 22 63 6f 6e 74 65 6e | 74 73 22 0d 65 6c 73 65 | "conten|ts".else|
|000036c0| 0d 68 69 64 65 20 62 67 | 20 62 74 6e 20 22 48 69 |.hide bg| btn "Hi|
|000036d0| 64 65 4e 6f 74 65 73 22 | 0d 67 65 74 20 69 74 65 |deNotes"|.get ite|
|000036e0| 6d 20 31 20 6f 66 20 74 | 68 65 52 65 63 74 20 2b |m 1 of t|heRect +|
|000036f0| 20 33 35 32 0d 69 66 20 | 69 74 20 3e 20 69 74 65 | 352.if |it > ite|
|00003700| 6d 20 33 20 6f 66 20 74 | 68 65 20 73 63 72 65 65 |m 3 of t|he scree|
|00003710| 6e 52 65 63 74 20 74 68 | 65 6e 0d 70 75 74 20 69 |nRect th|en.put i|
|00003720| 74 65 6d 20 33 20 6f 66 | 20 74 68 65 20 73 63 72 |tem 3 of| the scr|
|00003730| 65 65 6e 52 65 63 74 20 | 69 6e 74 6f 20 69 74 65 |eenRect |into ite|
|00003740| 6d 20 33 20 6f 66 20 74 | 68 65 52 65 63 74 0d 70 |m 3 of t|heRect.p|
|00003750| 75 74 20 69 74 65 6d 20 | 33 20 6f 66 20 74 68 65 |ut item |3 of the|
|00003760| 52 65 63 74 20 2d 20 33 | 35 32 20 69 6e 74 6f 20 |Rect - 3|52 into |
|00003770| 69 74 65 6d 20 31 20 6f | 66 20 74 68 65 52 65 63 |item 1 o|f theRec|
|00003780| 74 0d 65 6c 73 65 20 70 | 75 74 20 69 74 20 69 6e |t.else p|ut it in|
|00003790| 74 6f 20 69 74 65 6d 20 | 33 20 6f 66 20 74 68 65 |to item |3 of the|
|000037a0| 52 65 63 74 0d 73 68 6f | 77 20 62 67 20 62 74 6e |Rect.sho|w bg btn|
|000037b0| 20 22 53 68 6f 77 4e 6f | 74 65 73 22 0d 69 66 20 | "ShowNo|tes".if |
|000037c0| 74 68 65 72 65 20 69 73 | 20 61 20 6d 65 6e 75 49 |there is| a menuI|
|000037d0| 74 65 6d 20 22 53 68 6f | 77 20 4e 6f 74 65 73 22 |tem "Sho|w Notes"|
|000037e0| 20 6f 66 20 6d 65 6e 75 | 20 22 45 64 69 74 22 0d | of menu| "Edit".|
|000037f0| 74 68 65 6e 20 73 65 74 | 20 74 68 65 20 63 68 65 |then set| the che|
|00003800| 63 6b 6d 61 72 6b 20 6f | 66 20 6d 65 6e 75 49 74 |ckmark o|f menuIt|
|00003810| 65 6d 20 22 53 68 6f 77 | 20 4e 6f 74 65 73 22 20 |em "Show| Notes" |
|00003820| 6f 66 20 6d 65 6e 75 20 | 22 45 64 69 74 22 20 74 |of menu |"Edit" t|
|00003830| 6f 20 66 61 6c 73 65 0d | 70 75 74 20 66 61 6c 73 |o false.|put fals|
|00003840| 65 20 69 6e 74 6f 20 6c | 69 6e 65 20 32 20 6f 66 |e into l|ine 2 of|
|00003850| 20 62 67 20 66 6c 64 20 | 22 73 68 6f 77 6e 6f 74 | bg fld |"shownot|
|00003860| 65 73 22 20 6f 66 20 63 | 64 20 22 63 6f 6e 74 65 |es" of c|d "conte|
|00003870| 6e 74 73 22 0d 65 6e 64 | 20 69 66 0d 69 66 20 69 |nts".end| if.if i|
|00003880| 74 65 6d 20 34 20 6f 66 | 20 74 68 65 20 73 63 72 |tem 4 of| the scr|
|00003890| 65 65 6e 52 65 63 74 20 | 3c 20 33 34 33 20 74 68 |eenRect |< 343 th|
|000038a0| 65 6e 0d 70 75 74 20 32 | 32 20 69 6e 74 6f 20 69 |en.put 2|2 into i|
|000038b0| 74 65 6d 20 32 20 6f 66 | 20 74 68 65 52 65 63 74 |tem 2 of| theRect|
|000038c0| 0d 70 75 74 20 33 34 32 | 20 69 6e 74 6f 20 69 74 |.put 342| into it|
|000038d0| 65 6d 20 34 20 6f 66 20 | 74 68 65 52 65 63 74 0d |em 4 of |theRect.|
|000038e0| 65 6e 64 20 69 66 0d 73 | 65 74 20 74 68 65 20 72 |end if.s|et the r|
|000038f0| 65 63 74 20 6f 66 20 63 | 61 72 64 20 77 69 6e 64 |ect of c|ard wind|
|00003900| 6f 77 20 74 6f 20 74 68 | 65 52 65 63 74 0d 65 6e |ow to th|eRect.en|
|00003910| 64 20 53 68 6f 77 4e 6f | 74 65 73 0d 0d 6f 6e 20 |d ShowNo|tes..on |
|00003920| 48 69 64 65 4e 6f 74 65 | 73 0d 53 68 6f 77 4e 6f |HideNote|s.ShowNo|
|00003930| 74 65 73 20 66 61 6c 73 | 65 0d 65 6e 64 20 48 69 |tes fals|e.end Hi|
|00003940| 64 65 4e 6f 74 65 73 0d | 0d 6f 6e 20 53 68 6f 77 |deNotes.|.on Show|
|00003950| 42 6f 6f 6b 4d 61 72 6b | 0d 69 66 20 74 68 65 72 |BookMark|.if ther|
|00003960| 65 20 69 73 20 6e 6f 74 | 20 61 20 62 67 20 62 74 |e is not| a bg bt|
|00003970| 6e 20 22 42 6f 6f 6b 4d | 61 72 6b 22 20 74 68 65 |n "BookM|ark" the|
|00003980| 6e 20 65 78 69 74 20 53 | 68 6f 77 42 6f 6f 6b 4d |n exit S|howBookM|
|00003990| 61 72 6b 0d 69 66 20 74 | 68 65 20 6d 61 72 6b 65 |ark.if t|he marke|
|000039a0| 64 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 74 |d of thi|s card t|
|000039b0| 68 65 6e 0d 73 65 74 20 | 74 68 65 20 69 63 6f 6e |hen.set |the icon|
|000039c0| 20 6f 66 20 62 67 20 62 | 74 6e 20 22 42 6f 6f 6b | of bg b|tn "Book|
|000039d0| 4d 61 72 6b 22 20 74 6f | 20 4d 61 72 6b 65 64 42 |Mark" to| MarkedB|
|000039e0| 6f 6f 6b 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ook.if t|here is |
|000039f0| 61 20 6d 65 6e 75 49 74 | 65 6d 20 22 53 65 74 20 |a menuIt|em "Set |
|00003a00| 42 6f 6f 6b 6d 61 72 6b | 22 20 6f 66 20 6d 65 6e |Bookmark|" of men|
|00003a10| 75 20 22 45 64 69 74 22 | 20 74 68 65 6e 0d 73 65 |u "Edit"| then.se|
|00003a20| 74 20 74 68 65 20 6e 61 | 6d 65 20 6f 66 20 6d 65 |t the na|me of me|
|00003a30| 6e 75 49 74 65 6d 20 22 | 53 65 74 20 42 6f 6f 6b |nuItem "|Set Book|
|00003a40| 6d 61 72 6b 22 20 6f 66 | 20 6d 65 6e 75 20 22 45 |mark" of| menu "E|
|00003a50| 64 69 74 22 20 74 6f 20 | 22 43 6c 65 61 72 20 42 |dit" to |"Clear B|
|00003a60| 6f 6f 6b 6d 61 72 6b 22 | 0d 65 6e 64 20 69 66 0d |ookmark"|.end if.|
|00003a70| 65 6c 73 65 0d 73 65 74 | 20 74 68 65 20 69 63 6f |else.set| the ico|
|00003a80| 6e 20 6f 66 20 62 67 20 | 62 74 6e 20 22 42 6f 6f |n of bg |btn "Boo|
|00003a90| 6b 4d 61 72 6b 22 20 74 | 6f 20 55 6e 4d 61 72 6b |kMark" t|o UnMark|
|00003aa0| 65 64 42 6f 6f 6b 0d 69 | 66 20 74 68 65 72 65 20 |edBook.i|f there |
|00003ab0| 69 73 20 61 20 6d 65 6e | 75 49 74 65 6d 20 22 43 |is a men|uItem "C|
|00003ac0| 6c 65 61 72 20 42 6f 6f | 6b 6d 61 72 6b 22 20 6f |lear Boo|kmark" o|
|00003ad0| 66 20 6d 65 6e 75 20 22 | 45 64 69 74 22 20 74 68 |f menu "|Edit" th|
|00003ae0| 65 6e 0d 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |en.set t|he name |
|00003af0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 43 6c 65 |of menuI|tem "Cle|
|00003b00| 61 72 20 42 6f 6f 6b 6d | 61 72 6b 22 20 6f 66 20 |ar Bookm|ark" of |
|00003b10| 6d 65 6e 75 20 22 45 64 | 69 74 22 20 74 6f 20 22 |menu "Ed|it" to "|
|00003b20| 53 65 74 20 42 6f 6f 6b | 6d 61 72 6b 22 0d 65 6e |Set Book|mark".en|
|00003b30| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|00003b40| 53 68 6f 77 42 6f 6f 6b | 4d 61 72 6b 0d 0d 6f 6e |ShowBook|Mark..on|
|00003b50| 20 42 6f 6f 6b 4d 61 72 | 6b 0d 73 65 74 20 74 68 | BookMar|k.set th|
|00003b60| 65 20 6d 61 72 6b 65 64 | 20 6f 66 20 74 68 69 73 |e marked| of this|
|00003b70| 20 63 61 72 64 20 74 6f | 20 6e 6f 74 20 74 68 65 | card to| not the|
|00003b80| 20 6d 61 72 6b 65 64 20 | 6f 66 20 74 68 69 73 20 | marked |of this |
|00003b90| 63 61 72 64 0d 53 68 6f | 77 42 6f 6f 6b 4d 61 72 |card.Sho|wBookMar|
|00003ba0| 6b 0d 65 6e 64 20 42 6f | 6f 6b 4d 61 72 6b 0d 0d |k.end Bo|okMark..|
|00003bb0| 6f 6e 20 47 6f 42 6f 6f | 6b 4d 61 72 6b 20 67 6f |on GoBoo|kMark go|
|00003bc0| 4e 65 78 74 0d 69 66 20 | 67 6f 4e 65 78 74 20 69 |Next.if |goNext i|
|00003bd0| 73 20 6e 6f 74 20 66 61 | 6c 73 65 20 74 68 65 6e |s not fa|lse then|
|00003be0| 20 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 67 | put tru|e into g|
|00003bf0| 6f 4e 65 78 74 0d 69 66 | 20 74 68 65 20 6f 70 74 |oNext.if| the opt|
|00003c00| 69 6f 6e 6b 65 79 20 69 | 73 20 64 6f 77 6e 20 74 |ionkey i|s down t|
|00003c10| 68 65 6e 20 70 75 74 20 | 66 61 6c 73 65 20 69 6e |hen put |false in|
|00003c20| 74 6f 20 67 6f 4e 65 78 | 74 0d 72 65 70 65 61 74 |to goNex|t.repeat|
|00003c30| 0d 6c 6f 63 6b 20 73 63 | 72 65 65 6e 0d 69 66 20 |.lock sc|reen.if |
|00003c40| 67 6f 4e 65 78 74 20 74 | 68 65 6e 0d 67 6f 20 6e |goNext t|hen.go n|
|00003c50| 65 78 74 20 6d 61 72 6b | 65 64 20 63 61 72 64 0d |ext mark|ed card.|
|00003c60| 65 6c 73 65 20 67 6f 20 | 70 72 65 76 69 6f 75 73 |else go |previous|
|00003c70| 20 6d 61 72 6b 65 64 20 | 63 61 72 64 0d 75 6e 6c | marked |card.unl|
|00003c80| 6f 63 6b 20 73 63 72 65 | 65 6e 20 77 69 74 68 20 |ock scre|en with |
|00003c90| 76 69 73 75 61 6c 20 65 | 66 66 65 63 74 20 7a 6f |visual e|ffect zo|
|00003ca0| 6f 6d 20 6f 75 74 0d 69 | 66 20 74 68 65 20 6d 6f |om out.i|f the mo|
|00003cb0| 75 73 65 20 69 73 20 75 | 70 20 74 68 65 6e 20 65 |use is u|p then e|
|00003cc0| 78 69 74 20 72 65 70 65 | 61 74 0d 69 66 20 74 68 |xit repe|at.if th|
|00003cd0| 65 20 6d 6f 75 73 65 4c | 6f 63 20 69 73 20 6e 6f |e mouseL|oc is no|
|00003ce0| 74 20 77 69 74 68 69 6e | 20 74 68 65 20 72 65 63 |t within| the rec|
|00003cf0| 74 20 6f 66 20 74 68 65 | 20 74 61 72 67 65 74 20 |t of the| target |
|00003d00| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|00003d10| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00003d20| 47 6f 42 6f 6f 6b 4d 61 | 72 6b 0d 0d 6f 6e 20 47 |GoBookMa|rk..on G|
|00003d30| 6f 50 72 65 76 42 6f 6f | 6b 4d 61 72 6b 0d 47 6f |oPrevBoo|kMark.Go|
|00003d40| 42 6f 6f 6b 4d 61 72 6b | 20 66 61 6c 73 65 0d 65 |BookMark| false.e|
|00003d50| 6e 64 20 47 6f 50 72 65 | 76 42 6f 6f 6b 4d 61 72 |nd GoPre|vBookMar|
|00003d60| 6b 0d 0d 6f 6e 20 43 6c | 65 61 72 42 6f 6f 6b 4d |k..on Cl|earBookM|
|00003d70| 61 72 6b 73 0d 75 6e 6d | 61 72 6b 20 61 6c 6c 20 |arks.unm|ark all |
|00003d80| 63 61 72 64 73 0d 65 6e | 64 20 43 6c 65 61 72 42 |cards.en|d ClearB|
|00003d90| 6f 6f 6b 4d 61 72 6b 73 | 0d 0d 6f 6e 20 45 78 70 |ookMarks|..on Exp|
|00003da0| 6f 72 74 41 6c 6c 42 6f | 6f 6b 54 65 78 74 0d 61 |ortAllBo|okText.a|
|00003db0| 73 6b 20 66 69 6c 65 20 | 22 46 69 6c 65 6e 61 6d |sk file |"Filenam|
|00003dc0| 65 20 74 6f 20 65 78 70 | 6f 72 74 20 74 6f 3f 22 |e to exp|ort to?"|
|00003dd0| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 4e 4f |& return| & .."NO|
|00003de0| 54 45 3a 20 74 68 69 73 | 20 74 61 6b 65 73 20 61 |TE: this| takes a|
|00003df0| 20 77 68 69 6c 65 21 22 | 20 77 69 74 68 20 c2 0d | while!"| with ..|
|00003e00| 63 68 61 72 20 31 20 74 | 6f 20 32 34 20 6f 66 20 |char 1 t|o 24 of |
|00003e10| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00003e20| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 26 26 20 |f this s|tack && |
|00003e30| 22 28 74 65 78 74 29 22 | 0d 69 66 20 69 74 20 69 |"(text)"|.if it i|
|00003e40| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 65 78 69 |s empty |then exi|
|00003e50| 74 20 45 78 70 6f 72 74 | 41 6c 6c 42 6f 6f 6b 54 |t Export|AllBookT|
|00003e60| 65 78 74 0d 67 6c 6f 62 | 61 6c 20 67 4f 70 65 6e |ext.glob|al gOpen|
|00003e70| 46 69 6c 65 4e 61 6d 65 | 0d 70 75 74 20 69 74 20 |FileName|.put it |
|00003e80| 69 6e 74 6f 20 67 4f 70 | 65 6e 46 69 6c 65 4e 61 |into gOp|enFileNa|
|00003e90| 6d 65 0d 6f 70 65 6e 20 | 66 69 6c 65 20 67 4f 70 |me.open |file gOp|
|00003ea0| 65 6e 46 69 6c 65 4e 61 | 6d 65 0d 0d 70 75 73 68 |enFileNa|me..push|
|00003eb0| 20 63 61 72 64 0d 73 65 | 74 20 74 68 65 20 6c 6f | card.se|t the lo|
|00003ec0| 63 6b 73 63 72 65 65 6e | 20 74 6f 20 74 72 75 65 |ckscreen| to true|
|00003ed0| 0d 73 65 74 20 74 68 65 | 20 6c 6f 63 6b 6d 65 73 |.set the| lockmes|
|00003ee0| 73 61 67 65 73 20 74 6f | 20 74 72 75 65 0d 73 65 |sages to| true.se|
|00003ef0| 74 20 74 68 65 20 6c 6f | 63 6b 72 65 63 65 6e 74 |t the lo|ckrecent|
|00003f00| 20 74 6f 20 74 72 75 65 | 0d 0d 67 6f 20 66 69 72 | to true|..go fir|
|00003f10| 73 74 20 63 61 72 64 0d | 73 65 6e 64 20 22 45 78 |st card.|send "Ex|
|00003f20| 70 6f 72 74 42 6f 6f 6b | 54 65 78 74 22 20 74 6f |portBook|Text" to|
|00003f30| 20 74 68 69 73 20 62 67 | 0d 0d 67 6f 20 63 64 20 | this bg|..go cd |
|00003f40| 31 20 6f 66 20 62 67 20 | 22 74 65 78 74 22 0d 73 |1 of bg |"text".s|
|00003f50| 65 6e 64 20 22 45 78 70 | 6f 72 74 42 6f 6f 6b 54 |end "Exp|ortBookT|
|00003f60| 65 78 74 22 20 74 6f 20 | 74 68 69 73 20 62 67 0d |ext" to |this bg.|
|00003f70| 0d 63 6c 6f 73 65 20 66 | 69 6c 65 20 67 4f 70 65 |.close f|ile gOpe|
|00003f80| 6e 46 69 6c 65 4e 61 6d | 65 0d 53 65 74 46 49 6e |nFileNam|e.SetFIn|
|00003f90| 66 6f 20 67 4f 70 65 6e | 46 69 6c 65 4e 61 6d 65 |fo gOpen|FileName|
|00003fa0| 2c 22 63 3d 4d 53 57 44 | 22 0d 70 75 74 20 74 68 |,"c=MSWD|".put th|
|00003fb0| 65 20 72 65 73 75 6c 74 | 0d 70 75 74 20 65 6d 70 |e result|.put emp|
|00003fc0| 74 79 20 69 6e 74 6f 20 | 67 4f 70 65 6e 46 69 6c |ty into |gOpenFil|
|00003fd0| 65 4e 61 6d 65 0d 0d 70 | 6f 70 20 63 61 72 64 0d |eName..p|op card.|
|00003fe0| 65 6e 64 20 45 78 70 6f | 72 74 41 6c 6c 42 6f 6f |end Expo|rtAllBoo|
|00003ff0| 6b 54 65 78 74 0d 0d 6f | 6e 20 43 6c 65 61 72 4e |kText..o|n ClearN|
|00004000| 6f 74 65 73 0d 70 75 73 | 68 20 63 61 72 64 0d 73 |otes.pus|h card.s|
|00004010| 65 74 20 74 68 65 20 6c | 6f 63 6b 53 63 72 65 65 |et the l|ockScree|
|00004020| 6e 20 74 6f 20 74 72 75 | 65 0d 73 65 74 20 74 68 |n to tru|e.set th|
|00004030| 65 20 6c 6f 63 6b 4d 65 | 73 73 61 67 65 73 20 74 |e lockMe|ssages t|
|00004040| 6f 20 74 72 75 65 0d 73 | 65 74 20 74 68 65 20 6c |o true.s|et the l|
|00004050| 6f 63 6b 52 65 63 65 6e | 74 20 74 6f 20 74 72 75 |ockRecen|t to tru|
|00004060| 65 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |e.repeat| with i |
|00004070| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00004080| 72 20 6f 66 20 63 61 72 | 64 73 20 6f 66 20 62 67 |r of car|ds of bg|
|00004090| 20 22 74 65 78 74 22 0d | 73 65 74 20 74 68 65 20 | "text".|set the |
|000040a0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 67 |cursor t|o busy.g|
|000040b0| 6f 20 63 64 20 69 20 6f | 66 20 62 67 20 22 74 65 |o cd i o|f bg "te|
|000040c0| 78 74 22 0d 69 66 20 53 | 65 63 74 69 6f 6e 4e 61 |xt".if S|ectionNa|
|000040d0| 6d 65 28 29 20 69 73 20 | 22 50 72 6f 6a 65 63 74 |me() is |"Project|
|000040e0| 20 47 75 74 65 6e 62 65 | 72 67 22 20 6f 72 20 c2 | Gutenbe|rg" or .|
|000040f0| 0d 53 65 63 74 69 6f 6e | 4e 61 6d 65 28 29 20 69 |.Section|Name() i|
|00004100| 73 20 22 50 75 62 6c 69 | 63 61 74 69 6f 6e 20 4e |s "Publi|cation N|
|00004110| 6f 74 65 73 22 20 74 68 | 65 6e 20 6e 65 78 74 20 |otes" th|en next |
|00004120| 72 65 70 65 61 74 0d 70 | 75 74 20 65 6d 70 74 79 |repeat.p|ut empty|
|00004130| 20 69 6e 74 6f 20 62 67 | 20 66 6c 64 20 22 6e 6f | into bg| fld "no|
|00004140| 74 65 73 22 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |tes".end| repeat.|
|00004150| 70 6f 70 20 63 61 72 64 | 0d 65 6e 64 20 43 6c 65 |pop card|.end Cle|
|00004160| 61 72 4e 6f 74 65 73 0d | 0d 6f 6e 20 4d 61 72 6b |arNotes.|.on Mark|
|00004170| 54 65 78 74 0d 67 6c 6f | 62 61 6c 20 67 43 75 72 |Text.glo|bal gCur|
|00004180| 72 65 6e 74 6c 79 53 65 | 6c 65 63 74 65 64 43 68 |rentlySe|lectedCh|
|00004190| 75 6e 6b 0d 69 66 20 74 | 68 65 20 73 65 6c 65 63 |unk.if t|he selec|
|000041a0| 74 69 6f 6e 20 69 73 20 | 6e 6f 74 20 65 6d 70 74 |tion is |not empt|
|000041b0| 79 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 73 |y then.p|ut the s|
|000041c0| 65 6c 65 63 74 65 64 43 | 68 75 6e 6b 20 69 6e 74 |electedC|hunk int|
|000041d0| 6f 20 67 43 75 72 72 65 | 6e 74 6c 79 53 65 6c 65 |o gCurre|ntlySele|
|000041e0| 63 74 65 64 43 68 75 6e | 6b 0d 65 6c 73 65 20 69 |ctedChun|k.else i|
|000041f0| 66 20 67 43 75 72 72 65 | 6e 74 6c 79 53 65 6c 65 |f gCurre|ntlySele|
|00004200| 63 74 65 64 43 68 75 6e | 6b 20 69 73 20 65 6d 70 |ctedChun|k is emp|
|00004210| 74 79 20 6f 72 20 c2 0d | 77 6f 72 64 20 32 20 6f |ty or ..|word 2 o|
|00004220| 66 20 67 43 75 72 72 65 | 6e 74 6c 79 53 65 6c 65 |f gCurre|ntlySele|
|00004230| 63 74 65 64 43 68 75 6e | 6b 20 3e 20 77 6f 72 64 |ctedChun|k > word|
|00004240| 20 34 20 6f 66 20 67 43 | 75 72 72 65 6e 74 6c 79 | 4 of gC|urrently|
|00004250| 53 65 6c 65 63 74 65 64 | 43 68 75 6e 6b 20 74 68 |Selected|Chunk th|
|00004260| 65 6e 0d 69 66 20 74 68 | 65 20 74 61 72 67 65 74 |en.if th|e target|
|00004270| 20 63 6f 6e 74 61 69 6e | 73 20 22 62 75 74 74 6f | contain|s "butto|
|00004280| 6e 22 20 74 68 65 6e 0d | 61 6e 73 77 65 72 20 22 |n" then.|answer "|
|00004290| 53 65 6c 65 63 74 20 74 | 65 78 74 20 69 6e 20 74 |Select t|ext in t|
|000042a0| 68 65 20 6d 61 69 6e 20 | 74 65 78 74 20 66 69 65 |he main |text fie|
|000042b0| 6c 64 20 61 6e 64 20 74 | 68 65 6e 20 63 6c 69 63 |ld and t|hen clic|
|000042c0| 6b 20 74 68 69 73 22 20 | 26 c2 0d 22 20 62 75 74 |k this" |&.." but|
|000042d0| 74 6f 6e 20 74 6f 20 75 | 6e 64 65 72 6c 69 6e 65 |ton to u|nderline|
|000042e0| 20 69 74 2e 22 20 77 69 | 74 68 20 22 4f 4b 22 0d | it." wi|th "OK".|
|000042f0| 65 6c 73 65 0d 61 6e 73 | 77 65 72 20 22 53 65 6c |else.ans|wer "Sel|
|00004300| 65 63 74 20 74 65 78 74 | 20 69 6e 20 74 68 65 20 |ect text| in the |
|00004310| 6d 61 69 6e 20 74 65 78 | 74 20 66 69 65 6c 64 20 |main tex|t field |
|00004320| 61 6e 64 20 73 65 6c 65 | 63 74 20 74 68 69 73 22 |and sele|ct this"|
|00004330| 20 26 c2 0d 22 20 6d 65 | 6e 75 20 69 74 65 6d 20 | &.." me|nu item |
|00004340| 74 6f 20 75 6e 64 65 72 | 6c 69 6e 65 20 69 74 2e |to under|line it.|
|00004350| 22 20 77 69 74 68 20 22 | 4f 4b 22 0d 65 6e 64 20 |" with "|OK".end |
|00004360| 69 66 0d 65 78 69 74 20 | 4d 61 72 6b 54 65 78 74 |if.exit |MarkText|
|00004370| 0d 65 6e 64 20 69 66 0d | 0d 67 65 74 20 74 68 65 |.end if.|.get the|
|00004380| 20 74 65 78 74 53 74 79 | 6c 65 20 6f 66 20 67 43 | textSty|le of gC|
|00004390| 75 72 72 65 6e 74 6c 79 | 53 65 6c 65 63 74 65 64 |urrently|Selected|
|000043a0| 43 68 75 6e 6b 0d 69 66 | 20 69 74 20 63 6f 6e 74 |Chunk.if| it cont|
|000043b0| 61 69 6e 73 20 22 75 6e | 64 65 72 6c 69 6e 65 22 |ains "un|derline"|
|000043c0| 20 74 68 65 6e 0d 73 65 | 74 20 74 68 65 20 74 65 | then.se|t the te|
|000043d0| 78 74 53 74 79 6c 65 20 | 6f 66 20 67 43 75 72 72 |xtStyle |of gCurr|
|000043e0| 65 6e 74 6c 79 53 65 6c | 65 63 74 65 64 43 68 75 |entlySel|ectedChu|
|000043f0| 6e 6b 20 74 6f 20 70 6c | 61 69 6e 0d 65 6c 73 65 |nk to pl|ain.else|
|00004400| 20 69 66 20 69 74 20 69 | 73 20 22 70 6c 61 69 6e | if it i|s "plain|
|00004410| 22 20 74 68 65 6e 0d 73 | 65 74 20 74 68 65 20 74 |" then.s|et the t|
|00004420| 65 78 74 53 74 79 6c 65 | 20 6f 66 20 67 43 75 72 |extStyle| of gCur|
|00004430| 72 65 6e 74 6c 79 53 65 | 6c 65 63 74 65 64 43 68 |rentlySe|lectedCh|
|00004440| 75 6e 6b 20 74 6f 20 75 | 6e 64 65 72 6c 69 6e 65 |unk to u|nderline|
|00004450| 0d 65 6c 73 65 20 69 66 | 20 69 74 20 69 73 20 22 |.else if| it is "|
|00004460| 6d 69 78 65 64 22 20 74 | 68 65 6e 0d 73 65 74 20 |mixed" t|hen.set |
|00004470| 74 68 65 20 74 65 78 74 | 53 74 79 6c 65 20 6f 66 |the text|Style of|
|00004480| 20 67 43 75 72 72 65 6e | 74 6c 79 53 65 6c 65 63 | gCurren|tlySelec|
|00004490| 74 65 64 43 68 75 6e 6b | 20 74 6f 20 75 6e 64 65 |tedChunk| to unde|
|000044a0| 72 6c 69 6e 65 0d 65 6e | 64 20 69 66 0d 73 65 6c |rline.en|d if.sel|
|000044b0| 65 63 74 20 67 43 75 72 | 72 65 6e 74 6c 79 53 65 |ect gCur|rentlySe|
|000044c0| 6c 65 63 74 65 64 43 68 | 75 6e 6b 0d 69 66 20 74 |lectedCh|unk.if t|
|000044d0| 68 65 72 65 20 69 73 20 | 61 20 62 67 20 62 74 6e |here is |a bg btn|
|000044e0| 20 22 6d 61 72 6b 20 74 | 65 78 74 22 20 74 68 65 | "mark t|ext" the|
|000044f0| 6e 0d 69 66 20 74 68 65 | 20 6d 6f 75 73 65 4c 6f |n.if the| mouseLo|
|00004500| 63 20 69 73 20 6e 6f 74 | 20 77 69 74 68 69 6e 20 |c is not| within |
|00004510| 74 68 65 20 72 65 63 74 | 20 6f 66 20 62 67 20 62 |the rect| of bg b|
|00004520| 74 6e 20 22 6d 61 72 6b | 20 74 65 78 74 22 0d 74 |tn "mark| text".t|
|00004530| 68 65 6e 20 70 75 74 20 | 65 6d 70 74 79 20 69 6e |hen put |empty in|
|00004540| 74 6f 20 67 43 75 72 72 | 65 6e 74 6c 79 53 65 6c |to gCurr|entlySel|
|00004550| 65 63 74 65 64 43 68 75 | 6e 6b 0d 65 6e 64 20 69 |ectedChu|nk.end i|
|00004560| 66 0d 65 6e 64 20 4d 61 | 72 6b 54 65 78 74 0d 0d |f.end Ma|rkText..|
|00004570| 6f 6e 20 53 74 61 72 74 | 53 65 61 72 63 68 20 66 |on Start|Search f|
|00004580| 6f 72 63 65 41 67 61 69 | 6e 0d 67 6c 6f 62 61 6c |orceAgai|n.global|
|00004590| 20 67 4c 61 73 74 53 65 | 61 72 63 68 57 6f 72 64 | gLastSe|archWord|
|000045a0| 2c 67 46 6f 75 6e 64 43 | 68 75 6e 6b 0d 69 66 20 |,gFoundC|hunk.if |
|000045b0| 67 4c 61 73 74 53 65 61 | 72 63 68 57 6f 72 64 20 |gLastSea|rchWord |
|000045c0| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 61 6e 64 |is not e|mpty and|
|000045d0| 20 c2 0d 28 66 6f 72 63 | 65 41 67 61 69 6e 20 69 | ..(forc|eAgain i|
|000045e0| 73 20 74 72 75 65 20 6f | 72 20 74 68 65 20 6f 70 |s true o|r the op|
|000045f0| 74 69 6f 6e 4b 65 79 20 | 69 73 20 64 6f 77 6e 29 |tionKey |is down)|
|00004600| 20 74 68 65 6e 0d 46 69 | 6e 64 57 6f 72 64 0d 65 | then.Fi|ndWord.e|
|00004610| 6c 73 65 0d 61 73 6b 20 | 22 57 6f 72 64 20 6f 72 |lse.ask |"Word or|
|00004620| 20 70 68 72 61 73 65 20 | 74 6f 20 73 65 61 72 63 | phrase |to searc|
|00004630| 68 20 66 6f 72 20 3f 22 | 26 20 72 65 74 75 72 6e |h for ?"|& return|
|00004640| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 20 | & retur|n & .." |
|00004650| 20 28 4f 70 74 69 6f 6e | 2d 63 6c 69 63 6b 20 74 | (Option|-click t|
|00004660| 68 65 20 73 65 61 72 63 | 68 20 62 75 74 74 6f 6e |he searc|h button|
|00004670| 20 74 6f 20 70 65 72 66 | 6f 72 6d 22 26 72 65 74 | to perf|orm"&ret|
|00004680| 75 72 6e 26 22 20 20 20 | 74 68 69 73 20 73 65 61 |urn&" |this sea|
|00004690| 72 63 68 20 61 67 61 69 | 6e 2e 29 22 20 77 69 74 |rch agai|n.)" wit|
|000046a0| 68 20 67 4c 61 73 74 53 | 65 61 72 63 68 57 6f 72 |h gLastS|earchWor|
|000046b0| 64 0d 69 66 20 69 74 20 | 69 73 20 65 6d 70 74 79 |d.if it |is empty|
|000046c0| 20 74 68 65 6e 20 65 78 | 69 74 20 53 74 61 72 74 | then ex|it Start|
|000046d0| 53 65 61 72 63 68 0d 69 | 66 20 69 74 20 69 73 20 |Search.i|f it is |
|000046e0| 6e 6f 74 20 67 4c 61 73 | 74 53 65 61 72 63 68 57 |not gLas|tSearchW|
|000046f0| 6f 72 64 20 74 68 65 6e | 20 70 75 74 20 65 6d 70 |ord then| put emp|
|00004700| 74 79 20 69 6e 74 6f 20 | 67 46 6f 75 6e 64 43 68 |ty into |gFoundCh|
|00004710| 75 6e 6b 0d 46 69 6e 64 | 57 6f 72 64 20 69 74 0d |unk.Find|Word it.|
|00004720| 65 6e 64 20 69 66 0d 65 | 6e 64 20 53 74 61 72 74 |end if.e|nd Start|
|00004730| 53 65 61 72 63 68 0d 0d | 6f 6e 20 46 69 6e 64 57 |Search..|on FindW|
|00004740| 6f 72 64 20 73 65 61 72 | 63 68 54 65 78 74 0d 67 |ord sear|chText.g|
|00004750| 6c 6f 62 61 6c 20 67 4c | 61 73 74 53 65 61 72 63 |lobal gL|astSearc|
|00004760| 68 57 6f 72 64 2c 67 46 | 6f 75 6e 64 43 68 75 6e |hWord,gF|oundChun|
|00004770| 6b 0d 69 66 20 73 65 61 | 72 63 68 54 65 78 74 20 |k.if sea|rchText |
|00004780| 69 73 20 6e 6f 74 20 65 | 6d 70 74 79 20 74 68 65 |is not e|mpty the|
|00004790| 6e 20 70 75 74 20 73 65 | 61 72 63 68 54 65 78 74 |n put se|archText|
|000047a0| 20 69 6e 74 6f 20 67 4c | 61 73 74 53 65 61 72 63 | into gL|astSearc|
|000047b0| 68 57 6f 72 64 0d 69 66 | 20 74 68 65 20 6e 75 6d |hWord.if| the num|
|000047c0| 62 65 72 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ber of t|his card|
|000047d0| 20 69 73 20 6e 6f 74 20 | 69 74 65 6d 20 34 20 6f | is not |item 4 o|
|000047e0| 66 20 67 46 6f 75 6e 64 | 43 68 75 6e 6b 0d 74 68 |f gFound|Chunk.th|
|000047f0| 65 6e 20 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |en put e|mpty int|
|00004800| 6f 20 67 46 6f 75 6e 64 | 43 68 75 6e 6b 0d 0d 70 |o gFound|Chunk..p|
|00004810| 75 73 68 20 63 61 72 64 | 0d 69 66 20 46 69 6e 64 |ush card|.if Find|
|00004820| 45 6e 67 69 6e 65 28 29 | 20 74 68 65 6e 0d 70 6f |Engine()| then.po|
|00004830| 70 20 63 61 72 64 20 69 | 6e 74 6f 20 69 74 0d 53 |p card i|nto it.S|
|00004840| 65 6c 65 63 74 46 6f 75 | 6e 64 54 65 78 74 0d 65 |electFou|ndText.e|
|00004850| 6c 73 65 0d 70 6f 70 20 | 63 61 72 64 0d 70 75 74 |lse.pop |card.put|
|00004860| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 67 46 6f 75 | empty i|nto gFou|
|00004870| 6e 64 43 68 75 6e 6b 0d | 65 6e 64 20 69 66 0d 65 |ndChunk.|end if.e|
|00004880| 6e 64 20 46 69 6e 64 57 | 6f 72 64 0d 0d 6f 6e 20 |nd FindW|ord..on |
|00004890| 53 65 6c 65 63 74 46 6f | 75 6e 64 54 65 78 74 0d |SelectFo|undText.|
|000048a0| 67 6c 6f 62 61 6c 20 67 | 46 6f 75 6e 64 43 68 75 |global g|FoundChu|
|000048b0| 6e 6b 2c 67 46 69 72 73 | 74 4c 69 6e 65 2c 67 4c |nk,gFirs|tLine,gL|
|000048c0| 61 73 74 53 65 61 72 63 | 68 57 6f 72 64 0d 69 66 |astSearc|hWord.if|
|000048d0| 20 67 46 6f 75 6e 64 43 | 68 75 6e 6b 20 69 73 20 | gFoundC|hunk is |
|000048e0| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|000048f0| 53 65 6c 65 63 74 46 6f | 75 6e 64 54 65 78 74 0d |SelectFo|undText.|
|00004900| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 67 46 |put item| 1 of gF|
|00004910| 6f 75 6e 64 43 68 75 6e | 6b 20 69 6e 74 6f 20 73 |oundChun|k into s|
|00004920| 74 61 72 74 43 68 61 72 | 0d 70 75 74 20 73 74 61 |tartChar|.put sta|
|00004930| 72 74 43 68 61 72 20 2b | 20 74 68 65 20 6e 75 6d |rtChar +| the num|
|00004940| 62 65 72 20 6f 66 20 63 | 68 61 72 73 20 6f 66 20 |ber of c|hars of |
|00004950| 67 4c 61 73 74 53 65 61 | 72 63 68 57 6f 72 64 20 |gLastSea|rchWord |
|00004960| 2d 20 31 20 69 6e 74 6f | 20 65 6e 64 43 68 61 72 |- 1 into| endChar|
|00004970| 0d 70 75 74 20 69 74 65 | 6d 20 33 20 6f 66 20 67 |.put ite|m 3 of g|
|00004980| 46 6f 75 6e 64 43 68 75 | 6e 6b 20 69 6e 74 6f 20 |FoundChu|nk into |
|00004990| 73 65 6c 65 63 74 65 64 | 46 69 65 6c 64 0d 73 65 |selected|Field.se|
|000049a0| 74 20 74 68 65 20 6c 6f | 63 6b 73 63 72 65 65 6e |t the lo|ckscreen|
|000049b0| 20 74 6f 20 66 61 6c 73 | 65 0d 73 65 74 20 74 68 | to fals|e.set th|
|000049c0| 65 20 6c 6f 63 6b 73 63 | 72 65 65 6e 20 74 6f 20 |e locksc|reen to |
|000049d0| 66 61 6c 73 65 0d 73 65 | 6c 65 63 74 20 63 68 61 |false.se|lect cha|
|000049e0| 72 20 73 74 61 72 74 43 | 68 61 72 20 74 6f 20 65 |r startC|har to e|
|000049f0| 6e 64 43 68 61 72 20 6f | 66 20 62 67 20 66 6c 64 |ndChar o|f bg fld|
|00004a00| 20 73 65 6c 65 63 74 65 | 64 46 69 65 6c 64 0d 65 | selecte|dField.e|
|00004a10| 6e 64 20 53 65 6c 65 63 | 74 46 6f 75 6e 64 54 65 |nd Selec|tFoundTe|
|00004a20| 78 74 0d 0d 46 55 4e 43 | 54 49 4f 4e 20 46 69 6e |xt..FUNC|TION Fin|
|00004a30| 64 45 6e 67 69 6e 65 0d | 67 6c 6f 62 61 6c 20 67 |dEngine.|global g|
|00004a40| 4c 61 73 74 53 65 61 72 | 63 68 57 6f 72 64 2c 67 |LastSear|chWord,g|
|00004a50| 46 6f 75 6e 64 43 68 75 | 6e 6b 2c 67 46 6f 72 63 |FoundChu|nk,gForc|
|00004a60| 65 42 65 67 69 6e 6e 69 | 6e 67 0d 70 75 74 20 66 |eBeginni|ng.put f|
|00004a70| 61 6c 73 65 20 69 6e 74 | 6f 20 66 6f 75 6e 64 0d |alse int|o found.|
|00004a80| 0d 73 65 74 20 74 68 65 | 20 6c 6f 63 6b 73 63 72 |.set the| lockscr|
|00004a90| 65 65 6e 20 74 6f 20 74 | 72 75 65 0d 73 65 74 20 |een to t|rue.set |
|00004aa0| 74 68 65 20 6c 6f 63 6b | 6d 65 73 73 61 67 65 73 |the lock|messages|
|00004ab0| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 74 68 65 | to true|.set the|
|00004ac0| 20 6c 6f 63 6b 72 65 63 | 65 6e 74 20 74 6f 20 74 | lockrec|ent to t|
|00004ad0| 72 75 65 0d 0d 69 66 20 | 67 46 6f 72 63 65 42 65 |rue..if |gForceBe|
|00004ae0| 67 69 6e 6e 69 6e 67 20 | 69 73 20 74 72 75 65 20 |ginning |is true |
|00004af0| 74 68 65 6e 0d 70 75 74 | 20 31 20 69 6e 74 6f 20 |then.put| 1 into |
|00004b00| 73 74 61 72 74 43 61 72 | 64 0d 65 6c 73 65 20 69 |startCar|d.else i|
|00004b10| 66 20 67 46 6f 75 6e 64 | 43 68 75 6e 6b 20 69 73 |f gFound|Chunk is|
|00004b20| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 2d 2d 20 69 | empty t|hen.-- i|
|00004b30| 74 20 68 61 73 20 6e 6f | 74 20 62 65 65 6e 20 66 |t has no|t been f|
|00004b40| 6f 75 6e 64 20 62 65 66 | 6f 72 65 2e 20 20 53 74 |ound bef|ore. St|
|00004b50| 61 72 74 20 6c 6f 6f 6b | 69 6e 67 20 66 72 6f 6d |art look|ing from|
|00004b60| 20 74 68 69 73 20 63 61 | 72 64 0d 69 66 20 74 68 | this ca|rd.if th|
|00004b70| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|00004b80| 74 68 69 73 20 62 67 20 | 69 73 20 22 74 65 78 74 |this bg |is "text|
|00004b90| 22 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 6e |" then.p|ut the n|
|00004ba0| 75 6d 62 65 72 20 6f 66 | 20 74 68 69 73 20 63 61 |umber of| this ca|
|00004bb0| 72 64 20 69 6e 74 6f 20 | 73 74 61 72 74 43 61 72 |rd into |startCar|
|00004bc0| 64 0d 65 6c 73 65 20 70 | 75 74 20 74 68 65 20 6e |d.else p|ut the n|
|00004bd0| 75 6d 62 65 72 20 6f 66 | 20 63 61 72 64 20 31 20 |umber of| card 1 |
|00004be0| 6f 66 20 62 67 20 22 74 | 65 78 74 22 20 69 6e 74 |of bg "t|ext" int|
|00004bf0| 6f 20 73 74 61 72 74 43 | 61 72 64 0d 69 66 20 73 |o startC|ard.if s|
|00004c00| 74 61 72 74 43 61 72 64 | 20 69 73 20 74 68 65 20 |tartCard| is the |
|00004c10| 6e 75 6d 62 65 72 20 6f | 66 20 63 61 72 64 20 31 |number o|f card 1|
|00004c20| 20 6f 66 20 62 67 20 22 | 74 65 78 74 22 20 74 68 | of bg "|text" th|
|00004c30| 65 6e 0d 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |en.put t|rue into|
|00004c40| 20 67 46 6f 72 63 65 42 | 65 67 69 6e 6e 69 6e 67 | gForceB|eginning|
|00004c50| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 2d 2d 20 |.end if.|else.-- |
|00004c60| 69 74 20 68 61 73 20 62 | 65 65 6e 20 66 6f 75 6e |it has b|een foun|
|00004c70| 64 20 62 65 66 6f 72 65 | 2e 0d 73 65 74 20 74 68 |d before|..set th|
|00004c80| 65 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |e cursor| to watc|
|00004c90| 68 0d 70 75 74 20 69 74 | 65 6d 20 31 20 6f 66 20 |h.put it|em 1 of |
|00004ca0| 67 46 6f 75 6e 64 43 68 | 75 6e 6b 20 69 6e 74 6f |gFoundCh|unk into|
|00004cb0| 20 73 74 61 72 74 43 68 | 61 72 0d 70 75 74 20 69 | startCh|ar.put i|
|00004cc0| 74 65 6d 20 32 20 6f 66 | 20 67 46 6f 75 6e 64 43 |tem 2 of| gFoundC|
|00004cd0| 68 75 6e 6b 20 69 6e 74 | 6f 20 73 74 61 72 74 4c |hunk int|o startL|
|00004ce0| 69 6e 65 0d 70 75 74 20 | 69 74 65 6d 20 33 20 6f |ine.put |item 3 o|
|00004cf0| 66 20 67 46 6f 75 6e 64 | 43 68 75 6e 6b 20 69 6e |f gFound|Chunk in|
|00004d00| 74 6f 20 73 74 61 72 74 | 46 69 65 6c 64 0d 70 75 |to start|Field.pu|
|00004d10| 74 20 69 74 65 6d 20 34 | 20 6f 66 20 67 46 6f 75 |t item 4| of gFou|
|00004d20| 6e 64 43 68 75 6e 6b 20 | 69 6e 74 6f 20 73 74 61 |ndChunk |into sta|
|00004d30| 72 74 43 61 72 64 0d 67 | 6f 20 63 64 20 73 74 61 |rtCard.g|o cd sta|
|00004d40| 72 74 43 61 72 64 0d 0d | 2d 2d 20 20 20 43 68 65 |rtCard..|-- Che|
|00004d50| 63 6b 20 66 69 72 73 74 | 20 69 6e 20 66 69 65 6c |ck first| in fiel|
|00004d60| 64 20 77 68 65 72 65 20 | 69 74 20 77 61 73 20 66 |d where |it was f|
|00004d70| 6f 75 6e 64 2e 0d 70 75 | 74 20 66 69 65 6c 64 20 |ound..pu|t field |
|00004d80| 73 74 61 72 74 46 69 65 | 6c 64 20 69 6e 74 6f 20 |startFie|ld into |
|00004d90| 74 65 6d 70 46 69 65 6c | 64 0d 64 65 6c 65 74 65 |tempFiel|d.delete|
|00004da0| 20 63 68 61 72 20 31 20 | 74 6f 20 73 74 61 72 74 | char 1 |to start|
|00004db0| 43 68 61 72 20 6f 66 20 | 74 65 6d 70 46 69 65 6c |Char of |tempFiel|
|00004dc0| 64 0d 69 66 20 74 65 6d | 70 46 69 65 6c 64 20 63 |d.if tem|pField c|
|00004dd0| 6f 6e 74 61 69 6e 73 20 | 67 4c 61 73 74 53 65 61 |ontains |gLastSea|
|00004de0| 72 63 68 57 6f 72 64 20 | 74 68 65 6e 0d 70 75 74 |rchWord |then.put|
|00004df0| 20 6f 66 66 73 65 74 28 | 67 4c 61 73 74 53 65 61 | offset(|gLastSea|
|00004e00| 72 63 68 57 6f 72 64 2c | 74 65 6d 70 46 69 65 6c |rchWord,|tempFiel|
|00004e10| 64 29 20 69 6e 74 6f 20 | 6d 61 74 63 68 43 68 61 |d) into |matchCha|
|00004e20| 72 0d 67 65 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |r.get th|e number|
|00004e30| 20 6f 66 20 6c 69 6e 65 | 73 20 69 6e 20 63 68 61 | of line|s in cha|
|00004e40| 72 20 31 20 74 6f 20 6d | 61 74 63 68 43 68 61 72 |r 1 to m|atchChar|
|00004e50| 20 6f 66 20 74 65 6d 70 | 46 69 65 6c 64 0d 61 64 | of temp|Field.ad|
|00004e60| 64 20 69 74 20 74 6f 20 | 73 74 61 72 74 4c 69 6e |d it to |startLin|
|00004e70| 65 0d 61 64 64 20 6d 61 | 74 63 68 43 68 61 72 20 |e.add ma|tchChar |
|00004e80| 74 6f 20 73 74 61 72 74 | 43 68 61 72 0d 70 75 74 |to start|Char.put|
|00004e90| 20 74 72 75 65 20 69 6e | 74 6f 20 66 6f 75 6e 64 | true in|to found|
|00004ea0| 0d 65 6e 64 20 69 66 0d | 0d 69 66 20 6e 6f 74 20 |.end if.|.if not |
|00004eb0| 66 6f 75 6e 64 20 74 68 | 65 6e 0d 2d 2d 20 53 69 |found th|en.-- Si|
|00004ec0| 6e 63 65 20 69 74 27 73 | 20 6e 6f 74 20 74 68 65 |nce it's| not the|
|00004ed0| 72 65 2c 20 63 68 65 63 | 6b 20 69 74 20 74 68 65 |re, chec|k it the|
|00004ee0| 20 72 65 73 74 20 6f 66 | 20 74 68 65 20 66 69 65 | rest of| the fie|
|00004ef0| 6c 64 73 20 6f 66 20 74 | 68 61 74 20 63 61 72 64 |lds of t|hat card|
|00004f00| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00004f10| 20 28 73 74 61 72 74 46 | 69 65 6c 64 20 2b 20 31 | (startF|ield + 1|
|00004f20| 29 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |) to the| number |
|00004f30| 6f 66 20 62 67 20 66 6c | 64 73 0d 73 65 74 20 74 |of bg fl|ds.set t|
|00004f40| 68 65 20 63 75 72 73 6f | 72 20 74 6f 20 62 75 73 |he curso|r to bus|
|00004f50| 79 0d 69 66 20 74 68 65 | 20 64 6f 6e 74 53 65 61 |y.if the| dontSea|
|00004f60| 72 63 68 20 6f 66 20 62 | 67 20 66 6c 64 20 69 20 |rch of b|g fld i |
|00004f70| 74 68 65 6e 20 6e 65 78 | 74 20 72 65 70 65 61 74 |then nex|t repeat|
|00004f80| 0d 69 66 20 66 69 65 6c | 64 20 69 20 63 6f 6e 74 |.if fiel|d i cont|
|00004f90| 61 69 6e 73 20 67 4c 61 | 73 74 53 65 61 72 63 68 |ains gLa|stSearch|
|00004fa0| 57 6f 72 64 20 74 68 65 | 6e 0d 70 75 74 20 6f 66 |Word the|n.put of|
|00004fb0| 66 73 65 74 28 67 4c 61 | 73 74 53 65 61 72 63 68 |fset(gLa|stSearch|
|00004fc0| 57 6f 72 64 2c 66 69 65 | 6c 64 20 69 29 20 69 6e |Word,fie|ld i) in|
|00004fd0| 74 6f 20 6c 61 73 74 43 | 68 61 72 0d 67 65 74 20 |to lastC|har.get |
|00004fe0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00004ff0| 6e 65 73 20 69 6e 20 63 | 68 61 72 20 31 20 74 6f |nes in c|har 1 to|
|00005000| 20 6c 61 73 74 43 68 61 | 72 20 6f 66 20 66 69 65 | lastCha|r of fie|
|00005010| 6c 64 20 69 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |ld i.put| it into|
|00005020| 20 73 74 61 72 74 4c 69 | 6e 65 0d 70 75 74 20 69 | startLi|ne.put i|
|00005030| 20 69 6e 74 6f 20 73 74 | 61 72 74 46 69 65 6c 64 | into st|artField|
|00005040| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 66 |.put tru|e into f|
|00005050| 6f 75 6e 64 0d 65 78 69 | 74 20 72 65 70 65 61 74 |ound.exi|t repeat|
|00005060| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 72 65 70 65 |.end if.|end repe|
|00005070| 61 74 0d 65 6e 64 20 69 | 66 0d 0d 69 66 20 6e 6f |at.end i|f..if no|
|00005080| 74 20 66 6f 75 6e 64 20 | 74 68 65 6e 20 61 64 64 |t found |then add|
|00005090| 20 31 20 74 6f 20 73 74 | 61 72 74 43 61 72 64 0d | 1 to st|artCard.|
|000050a0| 65 6e 64 20 69 66 0d 0d | 69 66 20 6e 6f 74 20 66 |end if..|if not f|
|000050b0| 6f 75 6e 64 20 74 68 65 | 6e 0d 2d 2d 20 69 66 20 |ound the|n.-- if |
|000050c0| 69 74 20 73 74 69 6c 6c | 20 68 61 73 20 6e 6f 74 |it still| has not|
|000050d0| 20 62 65 65 6e 20 66 6f | 75 6e 64 2c 20 73 74 61 | been fo|und, sta|
|000050e0| 72 74 20 6c 6f 6f 6b 69 | 6e 67 20 61 74 20 63 61 |rt looki|ng at ca|
|000050f0| 72 64 20 73 74 61 72 74 | 43 61 72 64 0d 72 65 70 |rd start|Card.rep|
|00005100| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 73 74 61 |eat with| i = sta|
|00005110| 72 74 43 61 72 64 20 74 | 6f 20 74 68 65 20 6e 75 |rtCard t|o the nu|
|00005120| 6d 62 65 72 20 6f 66 20 | 63 61 72 64 73 0d 73 65 |mber of |cards.se|
|00005130| 74 20 74 68 65 20 63 75 | 72 73 6f 72 20 74 6f 20 |t the cu|rsor to |
|00005140| 62 75 73 79 0d 67 6f 20 | 63 64 20 69 0d 72 65 70 |busy.go |cd i.rep|
|00005150| 65 61 74 20 77 69 74 68 | 20 6a 20 3d 20 31 20 74 |eat with| j = 1 t|
|00005160| 6f 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |o the nu|mber of |
|00005170| 62 67 20 66 6c 64 73 0d | 69 66 20 74 68 65 20 64 |bg flds.|if the d|
|00005180| 6f 6e 74 53 65 61 72 63 | 68 20 6f 66 20 62 67 20 |ontSearc|h of bg |
|00005190| 66 6c 64 20 6a 20 74 68 | 65 6e 20 6e 65 78 74 20 |fld j th|en next |
|000051a0| 72 65 70 65 61 74 0d 69 | 66 20 62 67 20 66 6c 64 |repeat.i|f bg fld|
|000051b0| 20 6a 20 63 6f 6e 74 61 | 69 6e 73 20 67 4c 61 73 | j conta|ins gLas|
|000051c0| 74 53 65 61 72 63 68 57 | 6f 72 64 20 74 68 65 6e |tSearchW|ord then|
|000051d0| 0d 70 75 74 20 74 72 75 | 65 20 69 6e 74 6f 20 66 |.put tru|e into f|
|000051e0| 6f 75 6e 64 0d 70 75 74 | 20 69 20 69 6e 74 6f 20 |ound.put| i into |
|000051f0| 73 74 61 72 74 43 61 72 | 64 0d 70 75 74 20 6a 20 |startCar|d.put j |
|00005200| 69 6e 74 6f 20 73 74 61 | 72 74 46 69 65 6c 64 0d |into sta|rtField.|
|00005210| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00005220| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |if.end r|epeat.if|
|00005230| 20 66 6f 75 6e 64 20 74 | 68 65 6e 20 65 78 69 74 | found t|hen exit|
|00005240| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00005250| 61 74 0d 0d 69 66 20 66 | 6f 75 6e 64 20 74 68 65 |at..if f|ound the|
|00005260| 6e 0d 67 6f 20 63 64 20 | 73 74 61 72 74 43 61 72 |n.go cd |startCar|
|00005270| 64 0d 70 75 74 20 6f 66 | 66 73 65 74 28 67 4c 61 |d.put of|fset(gLa|
|00005280| 73 74 53 65 61 72 63 68 | 57 6f 72 64 2c 62 67 20 |stSearch|Word,bg |
|00005290| 66 6c 64 20 73 74 61 72 | 74 46 69 65 6c 64 29 20 |fld star|tField) |
|000052a0| 69 6e 74 6f 20 73 74 61 | 72 74 43 68 61 72 0d 70 |into sta|rtChar.p|
|000052b0| 75 74 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |ut the n|umber of|
|000052c0| 20 6c 69 6e 65 73 20 69 | 6e 20 63 68 61 72 20 31 | lines i|n char 1|
|000052d0| 20 74 6f 20 73 74 61 72 | 74 43 68 61 72 20 6f 66 | to star|tChar of|
|000052e0| 20 62 67 20 66 6c 64 20 | 73 74 61 72 74 46 69 65 | bg fld |startFie|
|000052f0| 6c 64 20 c2 0d 69 6e 74 | 6f 20 73 74 61 72 74 4c |ld ..int|o startL|
|00005300| 69 6e 65 0d 70 75 74 20 | 69 20 69 6e 74 6f 20 73 |ine.put |i into s|
|00005310| 74 61 72 74 43 61 72 64 | 0d 65 6e 64 20 69 66 0d |tartCard|.end if.|
|00005320| 65 6e 64 20 69 66 0d 0d | 69 66 20 66 6f 75 6e 64 |end if..|if found|
|00005330| 20 74 68 65 6e 20 2d 2d | 20 73 74 6f 72 65 20 77 | then --| store w|
|00005340| 68 65 72 65 20 69 74 20 | 77 61 73 20 66 6f 75 6e |here it |was foun|
|00005350| 64 20 69 6e 20 67 46 6f | 75 6e 64 43 68 75 6e 6b |d in gFo|undChunk|
|00005360| 0d 70 75 74 20 73 74 61 | 72 74 43 68 61 72 26 22 |.put sta|rtChar&"|
|00005370| 2c 22 26 73 74 61 72 74 | 4c 69 6e 65 26 22 2c 22 |,"&start|Line&","|
|00005380| 26 73 74 61 72 74 46 69 | 65 6c 64 26 22 2c 22 26 |&startFi|eld&","&|
|00005390| 73 74 61 72 74 43 61 72 | 64 20 69 6e 74 6f 20 67 |startCar|d into g|
|000053a0| 46 6f 75 6e 64 43 68 75 | 6e 6b 0d 65 6c 73 65 0d |FoundChu|nk.else.|
|000053b0| 69 66 20 67 46 6f 72 63 | 65 42 65 67 69 6e 6e 69 |if gForc|eBeginni|
|000053c0| 6e 67 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 0d |ng is tr|ue then.|
|000053d0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 66 |put fals|e into f|
|000053e0| 6f 75 6e 64 0d 61 6e 73 | 77 65 72 20 22 d4 22 26 |ound.ans|wer "."&|
|000053f0| 67 4c 61 73 74 53 65 61 | 72 63 68 57 6f 72 64 26 |gLastSea|rchWord&|
|00005400| 22 d5 20 6e 6f 74 20 66 | 6f 75 6e 64 2e 22 0d 65 |". not f|ound.".e|
|00005410| 6c 73 65 0d 61 6e 73 77 | 65 72 20 22 45 6e 64 20 |lse.answ|er "End |
|00005420| 6f 66 20 62 6f 6f 6b 20 | 72 65 61 63 68 65 64 2e |of book |reached.|
|00005430| 20 20 53 65 61 72 63 68 | 20 66 6f 72 20 d4 22 26 | Search| for ."&|
|00005440| 67 4c 61 73 74 53 65 61 | 72 63 68 57 6f 72 64 26 |gLastSea|rchWord&|
|00005450| 22 d5 20 66 72 6f 6d 20 | 74 68 65 20 62 65 67 69 |". from |the begi|
|00005460| 6e 6e 69 6e 67 3f 22 c2 | 0d 77 69 74 68 20 22 4e |nning?".|.with "N|
|00005470| 6f 22 20 6f 72 20 22 59 | 65 73 22 0d 69 66 20 69 |o" or "Y|es".if i|
|00005480| 74 20 69 73 20 22 59 65 | 73 22 20 74 68 65 6e 0d |t is "Ye|s" then.|
|00005490| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 67 46 |put true| into gF|
|000054a0| 6f 72 63 65 42 65 67 69 | 6e 6e 69 6e 67 0d 70 75 |orceBegi|nning.pu|
|000054b0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 67 46 6f |t empty |into gFo|
|000054c0| 75 6e 64 43 68 75 6e 6b | 0d 70 75 74 20 46 69 6e |undChunk|.put Fin|
|000054d0| 64 45 6e 67 69 6e 65 28 | 29 20 69 6e 74 6f 20 66 |dEngine(|) into f|
|000054e0| 6f 75 6e 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |ound.end| if.end |
|000054f0| 69 66 0d 65 6e 64 20 69 | 66 0d 0d 70 75 74 20 65 |if.end i|f..put e|
|00005500| 6d 70 74 79 20 69 6e 74 | 6f 20 67 46 6f 72 63 65 |mpty int|o gForce|
|00005510| 42 65 67 69 6e 6e 69 6e | 67 0d 72 65 74 75 72 6e |Beginnin|g.return|
|00005520| 20 66 6f 75 6e 64 0d 65 | 6e 64 20 46 69 6e 64 45 | found.e|nd FindE|
|00005530| 6e 67 69 6e 65 0d 0d 6f | 6e 20 53 68 6f 77 4c 61 |ngine..o|n ShowLa|
|00005540| 73 74 43 68 61 70 74 65 | 72 20 74 68 65 50 61 67 |stChapte|r thePag|
|00005550| 65 0d 67 6c 6f 62 61 6c | 20 67 4c 61 73 74 43 68 |e.global| gLastCh|
|00005560| 61 70 74 65 72 4e 61 6d | 65 2c 67 4c 61 73 74 50 |apterNam|e,gLastP|
|00005570| 61 67 65 4e 75 6d 62 65 | 72 0d 69 66 20 67 4c 61 |ageNumbe|r.if gLa|
|00005580| 73 74 43 68 61 70 74 65 | 72 4e 61 6d 65 20 69 73 |stChapte|rName is|
|00005590| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 65 78 69 74 | empty t|hen exit|
|000055a0| 20 53 68 6f 77 4c 61 73 | 74 43 68 61 70 74 65 72 | ShowLas|tChapter|
|000055b0| 0d 70 75 74 20 67 4c 61 | 73 74 50 61 67 65 4e 75 |.put gLa|stPageNu|
|000055c0| 6d 62 65 72 20 69 6e 74 | 6f 20 62 67 20 66 6c 64 |mber int|o bg fld|
|000055d0| 20 22 70 61 67 65 22 20 | 6f 66 20 63 64 20 22 63 | "page" |of cd "c|
|000055e0| 6f 6e 74 65 6e 74 73 22 | 0d 65 6e 64 20 53 68 6f |ontents"|.end Sho|
|000055f0| 77 4c 61 73 74 43 68 61 | 70 74 65 72 0d 0d 6f 6e |wLastCha|pter..on|
|00005600| 20 54 75 72 6e 4f 66 66 | 42 75 74 74 6f 6e 48 65 | TurnOff|ButtonHe|
|00005610| 6c 70 0d 48 69 64 65 42 | 75 74 74 6f 6e 48 65 6c |lp.HideB|uttonHel|
|00005620| 70 0d 67 65 74 20 44 69 | 73 70 6c 61 79 69 6e 67 |p.get Di|splaying|
|00005630| 48 65 6c 70 28 66 61 6c | 73 65 29 0d 65 6e 64 20 |Help(fal|se).end |
|00005640| 54 75 72 6e 4f 66 66 42 | 75 74 74 6f 6e 48 65 6c |TurnOffB|uttonHel|
|00005650| 70 0d 0d 6f 6e 20 48 69 | 64 65 42 75 74 74 6f 6e |p..on Hi|deButton|
|00005660| 48 65 6c 70 0d 70 75 74 | 20 74 68 65 20 73 65 6c |Help.put| the sel|
|00005670| 65 63 74 65 64 43 68 75 | 6e 6b 20 69 6e 74 6f 20 |ectedChu|nk into |
|00005680| 74 68 65 43 68 75 6e 6b | 0d 69 66 20 74 68 65 72 |theChunk|.if ther|
|00005690| 65 20 69 73 20 61 20 62 | 67 20 66 6c 64 20 22 62 |e is a b|g fld "b|
|000056a0| 75 74 74 6f 6e 20 68 65 | 6c 70 22 20 74 68 65 6e |utton he|lp" then|
|000056b0| 20 68 69 64 65 20 62 67 | 20 66 6c 64 20 22 62 75 | hide bg| fld "bu|
|000056c0| 74 74 6f 6e 20 68 65 6c | 70 22 0d 69 66 20 74 68 |tton hel|p".if th|
|000056d0| 65 43 68 75 6e 6b 20 69 | 73 20 6e 6f 74 20 65 6d |eChunk i|s not em|
|000056e0| 70 74 79 20 74 68 65 6e | 20 73 65 6c 65 63 74 20 |pty then| select |
|000056f0| 74 68 65 43 68 75 6e 6b | 0d 65 6e 64 20 48 69 64 |theChunk|.end Hid|
|00005700| 65 42 75 74 74 6f 6e 48 | 65 6c 70 0d 0d 6f 6e 20 |eButtonH|elp..on |
|00005710| 42 75 74 74 6f 6e 48 65 | 6c 70 20 74 68 65 42 75 |ButtonHe|lp theBu|
|00005720| 74 74 6f 6e 2c 20 74 68 | 65 54 65 78 74 0d 69 66 |tton, th|eText.if|
|00005730| 20 74 68 65 72 65 20 69 | 73 20 6e 6f 74 20 61 20 | there i|s not a |
|00005740| 62 67 20 66 6c 64 20 22 | 62 75 74 74 6f 6e 20 68 |bg fld "|button h|
|00005750| 65 6c 70 22 20 6f 72 20 | c2 0d 74 68 65 72 65 20 |elp" or |..there |
|00005760| 69 73 20 6e 6f 74 20 61 | 20 62 67 20 62 74 6e 20 |is not a| bg btn |
|00005770| 22 68 65 6c 70 20 6f 66 | 66 22 20 74 68 65 6e 20 |"help of|f" then |
|00005780| 65 78 69 74 20 42 75 74 | 74 6f 6e 48 65 6c 70 0d |exit But|tonHelp.|
|00005790| 0d 69 66 20 74 68 65 54 | 65 78 74 20 69 73 20 6e |.if theT|ext is n|
|000057a0| 6f 74 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 53 68 |ot empty| then.Sh|
|000057b0| 6f 77 42 75 74 74 6f 6e | 48 65 6c 70 20 74 68 65 |owButton|Help the|
|000057c0| 54 65 78 74 0d 65 78 69 | 74 20 42 75 74 74 6f 6e |Text.exi|t Button|
|000057d0| 48 65 6c 70 0d 65 6e 64 | 20 69 66 0d 0d 69 66 20 |Help.end| if..if |
|000057e0| 74 68 65 20 6f 70 74 69 | 6f 6e 4b 65 79 20 69 73 |the opti|onKey is|
|000057f0| 20 64 6f 77 6e 20 61 6e | 64 20 74 68 65 42 75 74 | down an|d theBut|
|00005800| 74 6f 6e 20 69 73 20 22 | 73 65 61 72 63 68 22 20 |ton is "|search" |
|00005810| 74 68 65 6e 0d 53 68 6f | 77 42 75 74 74 6f 6e 48 |then.Sho|wButtonH|
|00005820| 65 6c 70 20 22 2e 2e 2e | 70 65 72 66 6f 72 6d 73 |elp "...|performs|
|00005830| 20 74 68 65 20 73 61 6d | 65 20 73 65 61 72 63 68 | the sam|e search|
|00005840| 20 61 67 61 69 6e 2e 22 | 0d 65 6c 73 65 20 69 66 | again."|.else if|
|00005850| 20 74 68 65 20 6f 70 74 | 69 6f 6e 4b 65 79 20 69 | the opt|ionKey i|
|00005860| 73 20 64 6f 77 6e 20 61 | 6e 64 20 74 68 65 42 75 |s down a|nd theBu|
|00005870| 74 74 6f 6e 20 69 73 20 | 22 47 6f 20 42 6f 6f 6b |tton is |"Go Book|
|00005880| 4d 61 72 6b 22 20 74 68 | 65 6e 0d 53 68 6f 77 42 |Mark" th|en.ShowB|
|00005890| 75 74 74 6f 6e 48 65 6c | 70 20 22 2e 2e 2e 20 73 |uttonHel|p "... s|
|000058a0| 68 6f 77 73 20 74 68 65 | 20 70 72 65 76 69 6f 75 |hows the| previou|
|000058b0| 73 20 62 6f 6f 6b 6d 61 | 72 6b 2e 22 0d 65 6c 73 |s bookma|rk.".els|
|000058c0| 65 0d 69 66 20 74 68 65 | 42 75 74 74 6f 6e 20 69 |e.if the|Button i|
|000058d0| 73 20 22 68 65 6c 70 20 | 6f 66 66 22 20 74 68 65 |s "help |off" the|
|000058e0| 6e 0d 69 66 20 44 69 73 | 70 6c 61 79 69 6e 67 48 |n.if Dis|playingH|
|000058f0| 65 6c 70 28 29 20 74 68 | 65 6e 0d 53 68 6f 77 42 |elp() th|en.ShowB|
|00005900| 75 74 74 6f 6e 48 65 6c | 70 20 22 43 6c 69 63 6b |uttonHel|p "Click|
|00005910| 20 68 65 72 65 20 74 6f | 20 74 75 72 6e 20 74 68 | here to| turn th|
|00005920| 69 73 20 68 65 6c 70 20 | 6f 66 66 21 22 0d 65 6c |is help |off!".el|
|00005930| 73 65 20 53 68 6f 77 42 | 75 74 74 6f 6e 48 65 6c |se ShowB|uttonHel|
|00005940| 70 20 22 43 6c 69 63 6b | 20 68 65 72 65 20 74 6f |p "Click| here to|
|00005950| 20 74 75 72 6e 20 62 75 | 74 74 6f 6e 20 68 65 6c | turn bu|tton hel|
|00005960| 70 20 6f 6e 2e 22 2c 74 | 72 75 65 0d 65 6c 73 65 |p on.",t|rue.else|
|00005970| 20 69 66 20 74 68 65 42 | 75 74 74 6f 6e 20 69 73 | if theB|utton is|
|00005980| 20 22 63 6f 6e 74 65 6e | 74 73 22 20 74 68 65 6e | "conten|ts" then|
|00005990| 20 53 68 6f 77 42 75 74 | 74 6f 6e 48 65 6c 70 20 | ShowBut|tonHelp |
|000059a0| 22 53 68 6f 77 73 20 74 | 68 65 22 26 72 65 74 75 |"Shows t|he"&retu|
|000059b0| 72 6e 26 22 74 61 62 6c | 65 20 6f 66 20 63 6f 6e |rn&"tabl|e of con|
|000059c0| 74 65 6e 74 73 2e 22 0d | 65 6c 73 65 20 69 66 20 |tents.".|else if |
|000059d0| 74 68 65 42 75 74 74 6f | 6e 20 69 73 20 22 70 72 |theButto|n is "pr|
|000059e0| 65 76 69 6f 75 73 20 61 | 72 74 69 63 6c 65 22 20 |evious a|rticle" |
|000059f0| 74 68 65 6e 20 53 68 6f | 77 42 75 74 74 6f 6e 48 |then Sho|wButtonH|
|00005a00| 65 6c 70 20 22 53 68 6f | 77 73 20 74 68 65 20 70 |elp "Sho|ws the p|
|00005a10| 72 65 76 69 6f 75 73 20 | 63 68 61 70 74 65 72 2e |revious |chapter.|
|00005a20| 22 0d 65 6c 73 65 20 69 | 66 20 74 68 65 42 75 74 |".else i|f theBut|
|00005a30| 74 6f 6e 20 69 73 20 22 | 70 72 65 76 69 6f 75 73 |ton is "|previous|
|00005a40| 20 70 61 67 65 22 20 74 | 68 65 6e 20 53 68 6f 77 | page" t|hen Show|
|00005a50| 42 75 74 74 6f 6e 48 65 | 6c 70 20 22 53 68 6f 77 |ButtonHe|lp "Show|
|00005a60| 73 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 70 |s the pr|evious p|
|00005a70| 61 67 65 2e 22 0d 65 6c | 73 65 20 69 66 20 74 68 |age.".el|se if th|
|00005a80| 65 42 75 74 74 6f 6e 20 | 69 73 20 22 6e 65 78 74 |eButton |is "next|
|00005a90| 20 70 61 67 65 22 20 74 | 68 65 6e 20 53 68 6f 77 | page" t|hen Show|
|00005aa0| 42 75 74 74 6f 6e 48 65 | 6c 70 20 22 53 68 6f 77 |ButtonHe|lp "Show|
|00005ab0| 73 20 74 68 65 20 6e 65 | 78 74 20 22 26 72 65 74 |s the ne|xt "&ret|
|00005ac0| 75 72 6e 26 22 70 61 67 | 65 2e 22 0d 65 6c 73 65 |urn&"pag|e.".else|
|00005ad0| 20 69 66 20 74 68 65 42 | 75 74 74 6f 6e 20 69 73 | if theB|utton is|
|00005ae0| 20 22 6e 65 78 74 20 61 | 72 74 69 63 6c 65 22 20 | "next a|rticle" |
|00005af0| 74 68 65 6e 20 53 68 6f | 77 42 75 74 74 6f 6e 48 |then Sho|wButtonH|
|00005b00| 65 6c 70 20 22 53 68 6f | 77 73 20 74 68 65 20 6e |elp "Sho|ws the n|
|00005b10| 65 78 74 20 63 68 61 70 | 74 65 72 2e 22 0d 65 6c |ext chap|ter.".el|
|00005b20| 73 65 20 69 66 20 74 68 | 65 42 75 74 74 6f 6e 20 |se if th|eButton |
|00005b30| 69 73 20 22 53 68 6f 77 | 4e 6f 74 65 73 22 20 74 |is "Show|Notes" t|
|00005b40| 68 65 6e 20 53 68 6f 77 | 42 75 74 74 6f 6e 48 65 |hen Show|ButtonHe|
|00005b50| 6c 70 20 22 53 68 6f 77 | 73 20 74 68 65 20 6e 6f |lp "Show|s the no|
|00005b60| 74 65 73 20 73 65 63 74 | 69 6f 6e 20 6f 66 20 74 |tes sect|ion of t|
|00005b70| 68 65 20 62 6f 6f 6b 2e | 22 0d 65 6c 73 65 20 69 |he book.|".else i|
|00005b80| 66 20 74 68 65 42 75 74 | 74 6f 6e 20 69 73 20 22 |f theBut|ton is "|
|00005b90| 48 69 64 65 4e 6f 74 65 | 73 22 20 74 68 65 6e 20 |HideNote|s" then |
|00005ba0| 53 68 6f 77 42 75 74 74 | 6f 6e 48 65 6c 70 20 22 |ShowButt|onHelp "|
|00005bb0| 48 69 64 65 73 20 74 68 | 65 20 6e 6f 74 65 73 20 |Hides th|e notes |
|00005bc0| 73 65 63 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 62 |section |of the b|
|00005bd0| 6f 6f 6b 2e 22 0d 65 6c | 73 65 20 69 66 20 74 68 |ook.".el|se if th|
|00005be0| 65 42 75 74 74 6f 6e 20 | 69 73 20 22 73 65 61 72 |eButton |is "sear|
|00005bf0| 63 68 22 20 74 68 65 6e | 20 53 68 6f 77 42 75 74 |ch" then| ShowBut|
|00005c00| 74 6f 6e 48 65 6c 70 20 | 22 4c 65 74 73 20 79 6f |tonHelp |"Lets yo|
|00005c10| 75 20 73 65 61 72 63 68 | 20 66 6f 72 20 74 65 78 |u search| for tex|
|00005c20| 74 2e 20 20 4f 70 74 69 | 6f 6e 20 6b 65 79 2e 2e |t. Opti|on key..|
|00005c30| 2e 22 0d 65 6c 73 65 20 | 69 66 20 74 68 65 42 75 |.".else |if theBu|
|00005c40| 74 74 6f 6e 20 69 73 20 | 22 47 6f 20 42 6f 6f 6b |tton is |"Go Book|
|00005c50| 4d 61 72 6b 22 20 74 68 | 65 6e 20 53 68 6f 77 42 |Mark" th|en ShowB|
|00005c60| 75 74 74 6f 6e 48 65 6c | 70 20 22 53 68 6f 77 73 |uttonHel|p "Shows|
|00005c70| 20 74 68 65 20 6e 65 78 | 74 20 62 6f 6f 6b 6d 61 | the nex|t bookma|
|00005c80| 72 6b 2c 20 6f 70 74 69 | 6f 6e 2e 2e 2e 22 0d 65 |rk, opti|on...".e|
|00005c90| 6c 73 65 20 69 66 20 74 | 68 65 42 75 74 74 6f 6e |lse if t|heButton|
|00005ca0| 20 69 73 20 22 42 6f 6f | 6b 4d 61 72 6b 22 20 74 | is "Boo|kMark" t|
|00005cb0| 68 65 6e 0d 69 66 20 74 | 68 65 20 6d 61 72 6b 65 |hen.if t|he marke|
|00005cc0| 64 20 6f 66 20 74 68 69 | 73 20 63 61 72 64 20 74 |d of thi|s card t|
|00005cd0| 68 65 6e 0d 53 68 6f 77 | 42 75 74 74 6f 6e 48 65 |hen.Show|ButtonHe|
|00005ce0| 6c 70 20 22 43 6c 65 61 | 72 73 20 74 68 65 20 62 |lp "Clea|rs the b|
|00005cf0| 6f 6f 6b 6d 61 72 6b 20 | 73 65 74 20 6f 6e 20 74 |ookmark |set on t|
|00005d00| 68 69 73 20 70 61 67 65 | 2e 22 0d 65 6c 73 65 20 |his page|.".else |
|00005d10| 53 68 6f 77 42 75 74 74 | 6f 6e 48 65 6c 70 20 22 |ShowButt|onHelp "|
|00005d20| 53 65 74 73 20 61 20 62 | 6f 6f 6b 6d 61 72 6b 20 |Sets a b|ookmark |
|00005d30| 6f 6e 20 74 68 69 73 20 | 70 61 67 65 2e 22 0d 65 |on this |page.".e|
|00005d40| 6c 73 65 20 69 66 20 74 | 68 65 42 75 74 74 6f 6e |lse if t|heButton|
|00005d50| 20 69 73 20 22 4d 61 72 | 6b 20 54 65 78 74 22 20 | is "Mar|k Text" |
|00005d60| 74 68 65 6e 0d 69 66 20 | 74 68 65 20 73 65 6c 65 |then.if |the sele|
|00005d70| 63 74 69 6f 6e 20 69 73 | 20 65 6d 70 74 79 20 74 |ction is| empty t|
|00005d80| 68 65 6e 0d 53 68 6f 77 | 42 75 74 74 6f 6e 48 65 |hen.Show|ButtonHe|
|00005d90| 6c 70 20 22 53 65 6c 65 | 63 74 20 74 65 78 74 20 |lp "Sele|ct text |
|00005da0| 61 6e 64 20 63 6c 69 63 | 6b 20 68 65 72 65 20 74 |and clic|k here t|
|00005db0| 6f 20 75 6e 64 65 72 6c | 69 6e 65 20 69 74 2e 22 |o underl|ine it."|
|00005dc0| 0d 65 6c 73 65 20 69 66 | 20 74 68 65 20 74 65 78 |.else if| the tex|
|00005dd0| 74 53 74 79 6c 65 20 6f | 66 20 74 68 65 20 73 65 |tStyle o|f the se|
|00005de0| 6c 65 63 74 65 64 43 68 | 75 6e 6b 20 69 73 20 22 |lectedCh|unk is "|
|00005df0| 75 6e 64 65 72 6c 69 6e | 65 22 20 74 68 65 6e 0d |underlin|e" then.|
|00005e00| 53 68 6f 77 42 75 74 74 | 6f 6e 48 65 6c 70 20 22 |ShowButt|onHelp "|
|00005e10| 43 6c 65 61 72 73 20 75 | 6e 64 65 72 6c 69 6e 65 |Clears u|nderline|
|00005e20| 20 66 72 6f 6d 20 73 65 | 6c 65 63 74 65 64 20 74 | from se|lected t|
|00005e30| 65 78 74 2e 22 0d 65 6c | 73 65 0d 53 68 6f 77 42 |ext.".el|se.ShowB|
|00005e40| 75 74 74 6f 6e 48 65 6c | 70 20 22 55 6e 64 65 72 |uttonHel|p "Under|
|00005e50| 6c 69 6e 65 73 20 63 75 | 72 72 65 6e 74 6c 79 20 |lines cu|rrently |
|00005e60| 73 65 6c 65 63 74 65 64 | 20 74 65 78 74 2e 22 0d |selected| text.".|
|00005e70| 65 6e 64 20 69 66 0d 65 | 6c 73 65 20 69 66 20 74 |end if.e|lse if t|
|00005e80| 68 65 42 75 74 74 6f 6e | 20 69 73 20 22 6c 61 73 |heButton| is "las|
|00005e90| 74 70 61 67 65 22 20 74 | 68 65 6e 0d 53 68 6f 77 |tpage" t|hen.Show|
|00005ea0| 42 75 74 74 6f 6e 48 65 | 6c 70 20 22 53 68 6f 77 |ButtonHe|lp "Show|
|00005eb0| 73 20 74 68 65 20 6c 61 | 73 74 20 70 61 67 65 20 |s the la|st page |
|00005ec0| 79 6f 75 20 68 61 76 65 | 20 73 65 65 6e 2e 22 0d |you have| seen.".|
|00005ed0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 69 66 0d 65 6e |end if.e|nd if.en|
|00005ee0| 64 20 42 75 74 74 6f 6e | 48 65 6c 70 0d 0d 6f 6e |d Button|Help..on|
|00005ef0| 20 53 68 6f 77 42 75 74 | 74 6f 6e 48 65 6c 70 20 | ShowBut|tonHelp |
|00005f00| 74 68 65 54 65 78 74 2c | 66 6f 72 63 65 53 68 6f |theText,|forceSho|
|00005f10| 77 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 6e 6f |w.if the|re is no|
|00005f20| 74 20 61 20 62 67 20 66 | 6c 64 20 22 62 75 74 74 |t a bg f|ld "butt|
|00005f30| 6f 6e 20 68 65 6c 70 22 | 20 6f 72 20 c2 0d 74 68 |on help"| or ..th|
|00005f40| 65 72 65 20 69 73 20 6e | 6f 74 20 61 20 62 67 20 |ere is n|ot a bg |
|00005f50| 62 74 6e 20 22 68 65 6c | 70 20 6f 66 66 22 20 74 |btn "hel|p off" t|
|00005f60| 68 65 6e 20 65 78 69 74 | 20 53 68 6f 77 42 75 74 |hen exit| ShowBut|
|00005f70| 74 6f 6e 48 65 6c 70 0d | 0d 69 66 20 66 6f 72 63 |tonHelp.|.if forc|
|00005f80| 65 53 68 6f 77 20 69 73 | 20 74 72 75 65 20 6f 72 |eShow is| true or|
|00005f90| 20 44 69 73 70 6c 61 79 | 69 6e 67 48 65 6c 70 28 | Display|ingHelp(|
|00005fa0| 29 20 74 68 65 6e 0d 70 | 75 74 20 74 68 65 20 73 |) then.p|ut the s|
|00005fb0| 65 6c 65 63 74 65 64 63 | 68 75 6e 6b 20 69 6e 74 |electedc|hunk int|
|00005fc0| 6f 20 74 68 65 43 68 75 | 6e 6b 0d 70 75 74 20 74 |o theChu|nk.put t|
|00005fd0| 68 65 54 65 78 74 20 69 | 6e 74 6f 20 62 67 20 66 |heText i|nto bg f|
|00005fe0| 6c 64 20 22 62 75 74 74 | 6f 6e 20 68 65 6c 70 22 |ld "butt|on help"|
|00005ff0| 0d 73 68 6f 77 20 62 67 | 20 66 6c 64 20 22 62 75 |.show bg| fld "bu|
|00006000| 74 74 6f 6e 20 68 65 6c | 70 22 0d 69 66 20 74 68 |tton hel|p".if th|
|00006010| 65 43 68 75 6e 6b 20 69 | 73 20 6e 6f 74 20 65 6d |eChunk i|s not em|
|00006020| 70 74 79 20 74 68 65 6e | 20 73 65 6c 65 63 74 20 |pty then| select |
|00006030| 74 68 65 43 68 75 6e 6b | 0d 65 6e 64 20 69 66 0d |theChunk|.end if.|
|00006040| 65 6e 64 20 53 68 6f 77 | 42 75 74 74 6f 6e 48 65 |end Show|ButtonHe|
|00006050| 6c 70 0d 0d 46 55 4e 43 | 54 49 4f 4e 20 44 69 73 |lp..FUNC|TION Dis|
|00006060| 70 6c 61 79 69 6e 67 48 | 65 6c 70 20 74 68 65 53 |playingH|elp theS|
|00006070| 74 61 74 65 0d 69 66 20 | 74 68 65 72 65 20 69 73 |tate.if |there is|
|00006080| 20 6e 6f 74 20 61 20 62 | 67 20 62 74 6e 20 22 68 | not a b|g btn "h|
|00006090| 65 6c 70 20 6f 66 66 22 | 20 74 68 65 6e 20 72 65 |elp off"| then re|
|000060a0| 74 75 72 6e 20 66 61 6c | 73 65 0d 69 66 20 74 68 |turn fal|se.if th|
|000060b0| 65 53 74 61 74 65 20 69 | 73 20 6e 6f 74 20 65 6d |eState i|s not em|
|000060c0| 70 74 79 20 74 68 65 6e | 0d 69 66 20 74 68 65 53 |pty then|.if theS|
|000060d0| 74 61 74 65 20 74 68 65 | 6e 20 73 65 74 20 74 68 |tate the|n set th|
|000060e0| 65 20 69 63 6f 6e 20 6f | 66 20 62 67 20 62 74 6e |e icon o|f bg btn|
|000060f0| 20 22 68 65 6c 70 20 6f | 66 66 22 20 74 6f 20 31 | "help o|ff" to 1|
|00006100| 32 33 37 39 0d 65 6c 73 | 65 20 73 65 74 20 74 68 |2379.els|e set th|
|00006110| 65 20 69 63 6f 6e 20 6f | 66 20 62 67 20 62 74 6e |e icon o|f bg btn|
|00006120| 20 22 68 65 6c 70 20 6f | 66 66 22 20 74 6f 20 31 | "help o|ff" to 1|
|00006130| 32 33 37 38 0d 65 6e 64 | 20 69 66 0d 72 65 74 75 |2378.end| if.retu|
|00006140| 72 6e 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 62 |rn the i|con of b|
|00006150| 67 20 62 74 6e 20 22 68 | 65 6c 70 20 6f 66 66 22 |g btn "h|elp off"|
|00006160| 20 69 73 20 31 32 33 37 | 39 0d 65 6e 64 20 44 69 | is 1237|9.end Di|
|00006170| 73 70 6c 61 79 69 6e 67 | 48 65 6c 70 0d 0d 6f 6e |splaying|Help..on|
|00006180| 20 54 6f 67 67 6c 65 48 | 65 6c 70 4f 66 66 42 75 | ToggleH|elpOffBu|
|00006190| 74 74 6f 6e 0d 70 75 74 | 20 44 69 73 70 6c 61 79 |tton.put| Display|
|000061a0| 69 6e 67 48 65 6c 70 28 | 6e 6f 74 20 44 69 73 70 |ingHelp(|not Disp|
|000061b0| 6c 61 79 69 6e 67 48 65 | 6c 70 20 28 29 29 20 69 |layingHe|lp ()) i|
|000061c0| 6e 74 6f 20 68 65 6c 70 | 49 73 4e 6f 77 4f 6e 0d |nto help|IsNowOn.|
|000061d0| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 4c 6f 63 |.if the |mouseLoc|
|000061e0| 20 69 73 20 6e 6f 74 20 | 77 69 74 68 69 6e 20 74 | is not |within t|
|000061f0| 68 65 20 72 65 63 74 20 | 6f 66 20 62 67 20 62 74 |he rect |of bg bt|
|00006200| 6e 20 22 48 65 6c 70 22 | 20 74 68 65 6e 20 65 78 |n "Help"| then ex|
|00006210| 69 74 20 54 6f 67 67 6c | 65 48 65 6c 70 4f 66 66 |it Toggl|eHelpOff|
|00006220| 42 75 74 74 6f 6e 0d 0d | 69 66 20 68 65 6c 70 49 |Button..|if helpI|
|00006230| 73 4e 6f 77 4f 6e 20 74 | 68 65 6e 0d 42 75 74 74 |sNowOn t|hen.Butt|
|00006240| 6f 6e 48 65 6c 70 20 2c | 22 4d 6f 76 65 20 74 68 |onHelp ,|"Move th|
|00006250| 65 20 6d 6f 75 73 65 20 | 74 6f 20 74 68 65 20 6c |e mouse |to the l|
|00006260| 65 66 74 20 66 6f 72 20 | 68 65 6c 70 2e 22 0d 69 |eft for |help.".i|
|00006270| 66 20 74 68 65 20 73 65 | 6c 65 63 74 69 6f 6e 20 |f the se|lection |
|00006280| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 0d 77 61 |is empty| then.wa|
|00006290| 69 74 20 32 20 73 65 63 | 6f 6e 64 73 0d 65 6e 64 |it 2 sec|onds.end|
|000062a0| 20 69 66 0d 65 6c 73 65 | 20 20 42 75 74 74 6f 6e | if.else| Button|
|000062b0| 48 65 6c 70 20 22 68 65 | 6c 70 20 6f 66 66 22 0d |Help "he|lp off".|
|000062c0| 65 6e 64 20 54 6f 67 67 | 6c 65 48 65 6c 70 4f 66 |end Togg|leHelpOf|
|000062d0| 66 42 75 74 74 6f 6e 0d | 0d 46 55 4e 43 54 49 4f |fButton.|.FUNCTIO|
|000062e0| 4e 20 53 74 61 63 6b 4c | 6f 63 6b 65 64 0d 72 65 |N StackL|ocked.re|
|000062f0| 74 75 72 6e 20 74 68 65 | 20 63 61 6e 74 6d 6f 64 |turn the| cantmod|
|00006300| 69 66 79 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ify of t|his stac|
|00006310| 6b 0d 65 6e 64 20 53 74 | 61 63 6b 4c 6f 63 6b 65 |k.end St|ackLocke|
|00006320| 64 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 77 68 69 63 |d..funct|ion whic|
|00006330| 68 4c 69 6e 65 20 74 68 | 65 46 69 65 6c 64 0d 70 |hLine th|eField.p|
|00006340| 75 74 20 77 6f 72 64 20 | 34 20 6f 66 20 74 68 65 |ut word |4 of the|
|00006350| 20 63 6c 69 63 6b 43 68 | 75 6e 6b 20 69 6e 74 6f | clickCh|unk into|
|00006360| 20 6c 61 73 74 43 68 61 | 72 0d 72 65 74 75 72 6e | lastCha|r.return|
|00006370| 20 28 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 | (the nu|mber of |
|00006380| 6c 69 6e 65 73 20 69 6e | 20 63 68 61 72 20 31 20 |lines in| char 1 |
|00006390| 74 6f 20 6c 61 73 74 43 | 68 61 72 20 6f 66 20 76 |to lastC|har of v|
|000063a0| 61 6c 75 65 28 74 68 65 | 46 69 65 6c 64 29 29 0d |alue(the|Field)).|
|000063b0| 65 6e 64 20 77 68 69 63 | 68 4c 69 6e 65 0d 0d 6f |end whic|hLine..o|
|000063c0| 6e 20 67 6f 48 6f 6d 65 | 0d 6c 6f 63 6b 20 73 63 |n goHome|.lock sc|
|000063d0| 72 65 65 6e 0d 67 6f 20 | 68 6f 6d 65 0d 75 6e 6c |reen.go |home.unl|
|000063e0| 6f 63 6b 20 73 63 72 65 | 65 6e 20 77 69 74 68 20 |ock scre|en with |
|000063f0| 76 69 73 75 61 6c 20 65 | 66 66 65 63 74 20 69 72 |visual e|ffect ir|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.